pubid 2.0.0.pre.alpha.14 → 2.0.0.pre.alpha.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (51) hide show
  1. checksums.yaml +4 -4
  2. data/data/parg/adobe.json +1 -0
  3. data/data/parg/aiee.parg +37 -0
  4. data/data/parg/amca.json +1 -0
  5. data/data/parg/ansi.json +1 -0
  6. data/data/parg/api.json +1 -0
  7. data/data/parg/ashrae.json +1 -0
  8. data/data/parg/asme.json +1 -0
  9. data/data/parg/astm.json +1 -0
  10. data/data/parg/bipm.json +1 -0
  11. data/data/parg/bsi.json +1 -0
  12. data/data/parg/calconnect.json +1 -0
  13. data/data/parg/ccsds.json +1 -0
  14. data/data/parg/cen_cenelec.json +1 -0
  15. data/data/parg/cen_cenelec.parg +42 -0
  16. data/data/parg/cie.json +1 -0
  17. data/data/parg/csa.json +1 -0
  18. data/data/parg/doi.json +1 -0
  19. data/data/parg/easc.json +1 -0
  20. data/data/parg/ecma.json +1 -0
  21. data/data/parg/etsi.json +1 -0
  22. data/data/parg/evs.json +1 -0
  23. data/data/parg/gb.json +1 -0
  24. data/data/parg/gost.json +1 -0
  25. data/data/parg/iala.json +1 -0
  26. data/data/parg/iana.json +1 -0
  27. data/data/parg/idf.parg +39 -0
  28. data/data/parg/iec.json +1 -0
  29. data/data/parg/ieee.json +1 -0
  30. data/data/parg/ietf.json +1 -0
  31. data/data/parg/ire.parg +39 -0
  32. data/data/parg/isbn.json +1 -0
  33. data/data/parg/iso.json +1 -0
  34. data/data/parg/itu.json +1 -0
  35. data/data/parg/jcgm.json +1 -0
  36. data/data/parg/jis.json +1 -0
  37. data/data/parg/nesc.parg +38 -0
  38. data/data/parg/nist.json +1 -0
  39. data/data/parg/oasis.json +1 -0
  40. data/data/parg/ogc.json +1 -0
  41. data/data/parg/oiml.json +1 -0
  42. data/data/parg/omg.json +1 -0
  43. data/data/parg/plateau.json +1 -0
  44. data/data/parg/sae.json +1 -0
  45. data/data/parg/tgpp.json +1 -0
  46. data/data/parg/un.json +1 -0
  47. data/data/parg/w3c.json +1 -0
  48. data/data/parg/xsf.json +1 -0
  49. data/lib/pubid/version.rb +1 -1
  50. data/lib/pubid.rb +12 -7
  51. metadata +49 -2
@@ -0,0 +1 @@
1
+ {"version":"0.1.0","grammar":"PubidIec","shape":"parsanol-tree/v2","binding_version":1,"entries":{"identifier":{"root":"identifier","grammar":{"atoms":[{"Entity":{"atom":141}},{"Str":{"pattern":"PWI"}},{"Str":{"pattern":"PNW"}},{"Alternative":{"atoms":[1,2]}},{"Named":{"name":"wp_stage","atom":3}},{"Entity":{"atom":6}},{"Str":{"pattern":" "}},{"Entity":{"atom":14}},{"Str":{"pattern":"TR"}},{"Str":{"pattern":"TS"}},{"Str":{"pattern":"SRD"}},{"Alternative":{"atoms":[8,9,10]}},{"Entity":{"atom":6}},{"Sequence":{"atoms":[11,12]}},{"Named":{"name":"wp_type","atom":13}},{"Repetition":{"atom":7,"min":0,"max":1,"tag":"Maybe"}},{"Entity":{"atom":117}},{"Entity":{"atom":22}},{"Entity":{"atom":19}},{"Re":{"pattern":"[\\x41-\\x5a]"}},{"Entity":{"atom":21}},{"Re":{"pattern":"[\\x61-\\x7a]"}},{"Alternative":{"atoms":[18,20]}},{"Repetition":{"atom":17,"min":1,"max":null,"tag":"Repetition"}},{"Entity":{"atom":29}},{"Entity":{"atom":19}},{"Entity":{"atom":21}},{"Entity":{"atom":28}},{"Re":{"pattern":"[\\x30-\\x39]"}},{"Alternative":{"atoms":[25,26,27]}},{"Repetition":{"atom":24,"min":0,"max":null,"tag":"Repetition"}},{"Entity":{"atom":35}},{"Str":{"pattern":"-"}},{"Str":{"pattern":"‑"}},{"Str":{"pattern":"‐"}},{"Alternative":{"atoms":[32,33,34]}},{"Entity":{"atom":28}},{"Repetition":{"atom":36,"min":1,"max":null,"tag":"Repetition"}},{"Sequence":{"atoms":[31,37]}},{"Repetition":{"atom":38,"min":0,"max":1,"tag":"Maybe"}},{"Sequence":{"atoms":[23,30,39]}},{"Named":{"name":"number_with_part","atom":40}},{"Entity":{"atom":116}},{"Entity":{"atom":91}},{"Str":{"pattern":"DIR"}},{"Entity":{"atom":6}},{"Entity":{"atom":49}},{"Entity":{"atom":19}},{"Entity":{"atom":28}},{"Alternative":{"atoms":[47,48]}},{"Repetition":{"atom":46,"min":1,"max":null,"tag":"Repetition"}},{"Sequence":{"atoms":[45,50]}},{"Repetition":{"atom":51,"min":0,"max":null,"tag":"Repetition"}},{"Sequence":{"atoms":[44,52]}},{"Str":{"pattern":"VIM"}},{"Str":{"pattern":"SYMBOL"}},{"Entity":{"atom":28}},{"Repetition":{"atom":56,"min":1,"max":6,"tag":"Repetition"}},{"Str":{"pattern":"v"}},{"Entity":{"atom":28}},{"Repetition":{"atom":59,"min":1,"max":null,"tag":"Repetition"}},{"Entity":{"atom":22}},{"Repetition":{"atom":61,"min":0,"max":null,"tag":"Repetition"}},{"Str":{"pattern":"_"}},{"Entity":{"atom":22}},{"Repetition":{"atom":64,"min":1,"max":null,"tag":"Repetition"}},{"Sequence":{"atoms":[63,65]}},{"Repetition":{"atom":66,"min":0,"max":1,"tag":"Maybe"}},{"Sequence":{"atoms":[57,58,60,62,67]}},{"Entity":{"atom":19}},{"Repetition":{"atom":69,"min":2,"max":4,"tag":"Repetition"}},{"Entity":{"atom":35}},{"Entity":{"atom":28}},{"Repetition":{"atom":72,"min":1,"max":null,"tag":"Repetition"}},{"Sequence":{"atoms":[71,73]}},{"Repetition":{"atom":74,"min":0,"max":1,"tag":"Maybe"}},{"Entity":{"atom":49}},{"Repetition":{"atom":76,"min":0,"max":null,"tag":"Repetition"}},{"Sequence":{"atoms":[70,75,77]}},{"Entity":{"atom":28}},{"Repetition":{"atom":79,"min":1,"max":6,"tag":"Repetition"}},{"Entity":{"atom":22}},{"Repetition":{"atom":81,"min":0,"max":1,"tag":"Repetition"}},{"Str":{"pattern":"_"}},{"Entity":{"atom":22}},{"Repetition":{"atom":84,"min":1,"max":null,"tag":"Repetition"}},{"Sequence":{"atoms":[83,85]}},{"Repetition":{"atom":86,"min":0,"max":1,"tag":"Maybe"}},{"Sequence":{"atoms":[82,87]}},{"Repetition":{"atom":88,"min":0,"max":1,"tag":"Maybe"}},{"Sequence":{"atoms":[80,89]}},{"Alternative":{"atoms":[53,54,55,68,78,90]}},{"Entity":{"atom":113}},{"Entity":{"atom":35}},{"Entity":{"atom":95}},{"Str":{"pattern":","}},{"Alternative":{"atoms":[93,94]}},{"Entity":{"atom":6}},{"Repetition":{"atom":97,"min":0,"max":1,"tag":"Maybe"}},{"Entity":{"atom":104}},{"Entity":{"atom":29}},{"Re":{"pattern":"[_]"}},{"Re":{"pattern":"[&]"}},{"Re":{"pattern":"[,]"}},{"Alternative":{"atoms":[100,101,102,103]}},{"Repetition":{"atom":99,"min":1,"max":null,"tag":"Repetition"}},{"Entity":{"atom":35}},{"Entity":{"atom":95}},{"Alternative":{"atoms":[106,107]}},{"Entity":{"atom":104}},{"Repetition":{"atom":109,"min":1,"max":null,"tag":"Repetition"}},{"Sequence":{"atoms":[108,110]}},{"Repetition":{"atom":111,"min":0,"max":null,"tag":"Repetition"}},{"Sequence":{"atoms":[96,98,105,112]}},{"Repetition":{"atom":92,"min":0,"max":1,"tag":"Maybe"}},{"Sequence":{"atoms":[43,114]}},{"Named":{"name":"number_with_part","atom":115}},{"Alternative":{"atoms":[41,42]}},{"Entity":{"atom":6}},{"Entity":{"atom":138}},{"Entity":{"atom":125}},{"Str":{"pattern":"Edition"}},{"Str":{"pattern":"Ed."}},{"Str":{"pattern":"ED"}},{"Str":{"pattern":"Ed"}},{"Alternative":{"atoms":[121,122,123,124]}},{"Entity":{"atom":6}},{"Repetition":{"atom":126,"min":0,"max":1,"tag":"Maybe"}},{"Entity":{"atom":28}},{"Repetition":{"atom":128,"min":1,"max":null,"tag":"Repetition"}},{"Entity":{"atom":131}},{"Str":{"pattern":"."}},{"Entity":{"atom":28}},{"Repetition":{"atom":132,"min":1,"max":null,"tag":"Repetition"}},{"Sequence":{"atoms":[130,133]}},{"Repetition":{"atom":134,"min":0,"max":1,"tag":"Maybe"}},{"Sequence":{"atoms":[129,135]}},{"Named":{"name":"edition","atom":136}},{"Sequence":{"atoms":[120,127,137]}},{"Sequence":{"atoms":[118,119]}},{"Repetition":{"atom":139,"min":0,"max":1,"tag":"Maybe"}},{"Sequence":{"atoms":[4,5,15,16,140]}},{"Entity":{"atom":233}},{"Entity":{"atom":221}},{"Entity":{"atom":157}},{"Str":{"pattern":"IECQ OD"}},{"Str":{"pattern":"IECQ CS"}},{"Str":{"pattern":"IEC CAB"}},{"Str":{"pattern":"IEC CA"}},{"Str":{"pattern":"IECRE"}},{"Str":{"pattern":"CISPR"}},{"Str":{"pattern":"IECEE"}},{"Str":{"pattern":"IECEx"}},{"Str":{"pattern":"IECQ"}},{"Str":{"pattern":"IEC"}},{"Str":{"pattern":"ISO"}},{"Alternative":{"atoms":[145,146,147,148,149,150,151,152,153,154,155]}},{"Named":{"name":"publisher","atom":156}},{"Entity":{"atom":181}},{"Entity":{"atom":179}},{"Entity":{"atom":161}},{"Str":{"pattern":"/"}},{"Entity":{"atom":6}},{"Repetition":{"atom":162,"min":0,"max":1,"tag":"Maybe"}},{"Entity":{"atom":177}},{"Str":{"pattern":"IEC"}},{"Str":{"pattern":"ISO"}},{"Str":{"pattern":"IEEE"}},{"Str":{"pattern":"CIW"}},{"Str":{"pattern":"SAE"}},{"Str":{"pattern":"CIE"}},{"Str":{"pattern":"ASME"}},{"Str":{"pattern":"ASTM"}},{"Str":{"pattern":"OECD"}},{"Str":{"pattern":"HL7"}},{"Str":{"pattern":"CEI"}},{"Str":{"pattern":"UNDP"}},{"Alternative":{"atoms":[165,166,167,168,169,170,171,172,173,174,175,176]}},{"Named":{"name":"copublisher","atom":164}},{"Sequence":{"atoms":[160,163,178]}},{"Repetition":{"atom":159,"min":0,"max":null,"tag":"Repetition"}},{"Named":{"name":"copublishers","atom":180}},{"Repetition":{"atom":158,"min":0,"max":1,"tag":"Maybe"}},{"Entity":{"atom":6}},{"Entity":{"atom":205}},{"Str":{"pattern":"CISPR"}},{"Str":{"pattern":"CIS"}},{"Entity":{"atom":161}},{"Entity":{"atom":19}},{"Sequence":{"atoms":[186,187,188]}},{"Entity":{"atom":196}},{"Str":{"pattern":"JTC"}},{"Str":{"pattern":"JPC"}},{"Str":{"pattern":"TC"}},{"Str":{"pattern":"SC"}},{"Str":{"pattern":"PC"}},{"Alternative":{"atoms":[191,192,193,194,195]}},{"Entity":{"atom":6}},{"Entity":{"atom":200}},{"Entity":{"atom":28}},{"Repetition":{"atom":199,"min":1,"max":null,"tag":"Repetition"}},{"Entity":{"atom":19}},{"Repetition":{"atom":201,"min":0,"max":null,"tag":"Repetition"}},{"Repetition":{"atom":202,"min":0,"max":1,"tag":"Maybe"}},{"Sequence":{"atoms":[190,197,198,203]}},{"Alternative":{"atoms":[185,189,204]}},{"Named":{"name":"technical_committee","atom":184}},{"Entity":{"atom":161}},{"Entity":{"atom":6}},{"Repetition":{"atom":208,"min":0,"max":1,"tag":"Maybe"}},{"Entity":{"atom":217}},{"Str":{"pattern":"SC"}},{"Entity":{"atom":6}},{"Entity":{"atom":200}},{"Entity":{"atom":19}},{"Repetition":{"atom":214,"min":0,"max":null,"tag":"Repetition"}},{"Repetition":{"atom":215,"min":0,"max":1,"tag":"Maybe"}},{"Sequence":{"atoms":[211,212,213,216]}},{"Sequence":{"atoms":[207,209,210]}},{"Named":{"name":"subcommittee","atom":218}},{"Repetition":{"atom":219,"min":0,"max":1,"tag":"Maybe"}},{"Sequence":{"atoms":[144,182,183,206,220]}},{"Entity":{"atom":232}},{"Entity":{"atom":205}},{"Named":{"name":"technical_committee","atom":223}},{"Entity":{"atom":161}},{"Entity":{"atom":6}},{"Repetition":{"atom":226,"min":0,"max":1,"tag":"Maybe"}},{"Entity":{"atom":217}},{"Sequence":{"atoms":[225,227,228]}},{"Named":{"name":"subcommittee","atom":229}},{"Repetition":{"atom":230,"min":0,"max":1,"tag":"Maybe"}},{"Sequence":{"atoms":[224,231]}},{"Alternative":{"atoms":[143,222]}},{"Entity":{"atom":265}},{"Str":{"pattern":"JTC1-SC"}},{"Entity":{"atom":28}},{"Repetition":{"atom":236,"min":1,"max":null,"tag":"Repetition"}},{"Sequence":{"atoms":[235,237]}},{"Entity":{"atom":19}},{"Repetition":{"atom":239,"min":1,"max":null,"tag":"Repetition"}},{"Entity":{"atom":161}},{"Entity":{"atom":19}},{"Repetition":{"atom":242,"min":1,"max":null,"tag":"Repetition"}},{"Sequence":{"atoms":[240,241,243]}},{"Entity":{"atom":29}},{"Repetition":{"atom":245,"min":1,"max":null,"tag":"Repetition"}},{"Alternative":{"atoms":[238,244,246]}},{"Named":{"name":"technical_committee","atom":247}},{"Entity":{"atom":161}},{"Entity":{"atom":29}},{"Repetition":{"atom":250,"min":1,"max":null,"tag":"Repetition"}},{"Named":{"name":"wd_number","atom":251}},{"Str":{"pattern":"("}},{"Entity":{"atom":19}},{"Named":{"name":"wd_language","atom":254}},{"Str":{"pattern":")"}},{"Sequence":{"atoms":[253,255,256]}},{"Repetition":{"atom":257,"min":0,"max":1,"tag":"Maybe"}},{"Entity":{"atom":161}},{"Entity":{"atom":19}},{"Repetition":{"atom":260,"min":1,"max":null,"tag":"Repetition"}},{"Named":{"name":"wd_stage","atom":261}},{"Sequence":{"atoms":[259,262]}},{"Repetition":{"atom":263,"min":0,"max":1,"tag":"Maybe"}},{"Sequence":{"atoms":[248,249,252,258,264]}},{"Entity":{"atom":735}},{"Entity":{"atom":541}},{"Entity":{"atom":271}},{"Str":{"pattern":"Guide"}},{"Str":{"pattern":"GUIDE"}},{"Alternative":{"atoms":[269,270]}},{"Named":{"name":"type_with_stage_fr","atom":268}},{"Entity":{"atom":6}},{"Sequence":{"atoms":[272,273]}},{"Repetition":{"atom":274,"min":0,"max":1,"tag":"Maybe"}},{"Entity":{"atom":282}},{"Entity":{"atom":157}},{"Entity":{"atom":6}},{"Repetition":{"atom":278,"min":0,"max":1,"tag":"Maybe"}},{"Entity":{"atom":181}},{"Repetition":{"atom":280,"min":0,"max":1,"tag":"Maybe"}},{"Sequence":{"atoms":[277,279,281]}},{"Repetition":{"atom":276,"min":0,"max":1,"tag":"Maybe"}},{"Entity":{"atom":6}},{"Repetition":{"atom":284,"min":0,"max":1,"tag":"Maybe"}},{"Entity":{"atom":161}},{"Repetition":{"atom":286,"min":0,"max":1,"tag":"Maybe"}},{"Entity":{"atom":426}},{"Str":{"pattern":"Technology Report"}},{"Str":{"pattern":"Trend Report"}},{"Str":{"pattern":"White Paper"}},{"Str":{"pattern":"ANW Guide"}},{"Str":{"pattern":"PRF Guide"}},{"Str":{"pattern":"PWI Guide"}},{"Str":{"pattern":"ANW Frag"}},{"Str":{"pattern":"CD Guide"}},{"Str":{"pattern":"NP Guide"}},{"Str":{"pattern":"PRF Frag"}},{"Str":{"pattern":"PWI Frag"}},{"Str":{"pattern":"WD Guide"}},{"Str":{"pattern":"ANW Amd"}},{"Str":{"pattern":"ANW Cor"}},{"Str":{"pattern":"ANW ISH"}},{"Str":{"pattern":"ANW PAS"}},{"Str":{"pattern":"FDGuide"}},{"Str":{"pattern":"NP Frag"}},{"Str":{"pattern":"PRF Amd"}},{"Str":{"pattern":"PRF Cor"}},{"Str":{"pattern":"PWI Amd"}},{"Str":{"pattern":"PWI Cor"}},{"Str":{"pattern":"PWI ISH"}},{"Str":{"pattern":"PWI PAS"}},{"Str":{"pattern":"WD Frag"}},{"Str":{"pattern":"ANW TR"}},{"Str":{"pattern":"ANW TS"}},{"Str":{"pattern":"CDFRAG"}},{"Str":{"pattern":"DELPUB"}},{"Str":{"pattern":"DGuide"}},{"Str":{"pattern":"FDFRAG"}},{"Str":{"pattern":"NP Amd"}},{"Str":{"pattern":"NP Cor"}},{"Str":{"pattern":"NP ISH"}},{"Str":{"pattern":"NP PAS"}},{"Str":{"pattern":"PWI TR"}},{"Str":{"pattern":"PWI TS"}},{"Str":{"pattern":"WD Amd"}},{"Str":{"pattern":"WD ISH"}},{"Str":{"pattern":"WD PAS"}},{"Str":{"pattern":"CD TR"}},{"Str":{"pattern":"CD TS"}},{"Str":{"pattern":"CDCor"}},{"Str":{"pattern":"CDISH"}},{"Str":{"pattern":"CDPAS"}},{"Str":{"pattern":"CFDIS"}},{"Str":{"pattern":"DFRAG"}},{"Str":{"pattern":"FDCOR"}},{"Str":{"pattern":"GUIDE"}},{"Str":{"pattern":"Guide"}},{"Str":{"pattern":"NADIS"}},{"Str":{"pattern":"NFDIS"}},{"Str":{"pattern":"NP TR"}},{"Str":{"pattern":"NP TS"}},{"Str":{"pattern":"RDISH"}},{"Str":{"pattern":"RFDIS"}},{"Str":{"pattern":"WD TR"}},{"Str":{"pattern":"WD TS"}},{"Str":{"pattern":"WDCor"}},{"Str":{"pattern":"A2CD"}},{"Str":{"pattern":"A3CD"}},{"Str":{"pattern":"A4CD"}},{"Str":{"pattern":"A5CD"}},{"Str":{"pattern":"A6CD"}},{"Str":{"pattern":"A7CD"}},{"Str":{"pattern":"A8CD"}},{"Str":{"pattern":"A9CD"}},{"Str":{"pattern":"ACDV"}},{"Str":{"pattern":"ADTR"}},{"Str":{"pattern":"ADTS"}},{"Str":{"pattern":"APUB"}},{"Str":{"pattern":"AWIN"}},{"Str":{"pattern":"BPUB"}},{"Str":{"pattern":"CCDV"}},{"Str":{"pattern":"CDAM"}},{"Str":{"pattern":"CDTR"}},{"Str":{"pattern":"CDTS"}},{"Str":{"pattern":"CDVM"}},{"Str":{"pattern":"DCOR"}},{"Str":{"pattern":"DISH"}},{"Str":{"pattern":"DPAS"}},{"Str":{"pattern":"DTRM"}},{"Str":{"pattern":"DTSM"}},{"Str":{"pattern":"FDAM"}},{"Str":{"pattern":"FDIS"}},{"Str":{"pattern":"FRAG"}},{"Str":{"pattern":"NCDV"}},{"Str":{"pattern":"NDTR"}},{"Str":{"pattern":"NDTS"}},{"Str":{"pattern":"NWIP"}},{"Str":{"pattern":"PPUB"}},{"Str":{"pattern":"WPUB"}},{"Str":{"pattern":"2CD"}},{"Str":{"pattern":"3CD"}},{"Str":{"pattern":"4CD"}},{"Str":{"pattern":"5CD"}},{"Str":{"pattern":"6CD"}},{"Str":{"pattern":"7CD"}},{"Str":{"pattern":"8CD"}},{"Str":{"pattern":"9CD"}},{"Str":{"pattern":"ACD"}},{"Str":{"pattern":"AMD"}},{"Str":{"pattern":"AMW"}},{"Str":{"pattern":"ANW"}},{"Str":{"pattern":"Amd"}},{"Str":{"pattern":"BWG"}},{"Str":{"pattern":"CAN"}},{"Str":{"pattern":"CDM"}},{"Str":{"pattern":"CDV"}},{"Str":{"pattern":"COR"}},{"Str":{"pattern":"Cor"}},{"Str":{"pattern":"DAM"}},{"Str":{"pattern":"DTR"}},{"Str":{"pattern":"DTS"}},{"Str":{"pattern":"ISH"}},{"Str":{"pattern":"PAS"}},{"Str":{"pattern":"PNW"}},{"Str":{"pattern":"PRF"}},{"Str":{"pattern":"PWI"}},{"Str":{"pattern":"SRD"}},{"Str":{"pattern":"TRF"}},{"Str":{"pattern":"CA"}},{"Str":{"pattern":"CD"}},{"Str":{"pattern":"CS"}},{"Str":{"pattern":"NP"}},{"Str":{"pattern":"OD"}},{"Str":{"pattern":"RR"}},{"Str":{"pattern":"TR"}},{"Str":{"pattern":"TS"}},{"Str":{"pattern":"WD"}},{"Alternative":{"atoms":[289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418]}},{"Named":{"name":"type_with_stage","atom":419}},{"Entity":{"atom":28}},{"Named":{"name":"stage_iteration","atom":421}},{"Entity":{"atom":6}},{"Sequence":{"atoms":[422,423]}},{"Repetition":{"atom":424,"min":0,"max":1,"tag":"Maybe"}},{"Sequence":{"atoms":[420,425]}},{"Str":{"pattern":""}},{"Named":{"name":"type_with_stage","atom":427}},{"Alternative":{"atoms":[288,428]}},{"Entity":{"atom":6}},{"Repetition":{"atom":430,"min":0,"max":1,"tag":"Maybe"}},{"Entity":{"atom":534}},{"Entity":{"atom":439}},{"Str":{"pattern":"CISPR"}},{"Entity":{"atom":6}},{"Sequence":{"atoms":[434,435]}},{"Named":{"name":"trf_org","atom":436}},{"Entity":{"atom":116}},{"Sequence":{"atoms":[437,438]}},{"Entity":{"atom":116}},{"Alternative":{"atoms":[433,440]}},{"Entity":{"atom":446}},{"Entity":{"atom":131}},{"Entity":{"atom":28}},{"Named":{"name":"stage_iteration","atom":444}},{"Sequence":{"atoms":[443,445]}},{"Repetition":{"atom":442,"min":0,"max":1,"tag":"Maybe"}},{"Entity":{"atom":6}},{"Repetition":{"atom":448,"min":0,"max":1,"tag":"Maybe"}},{"Entity":{"atom":487}},{"Entity":{"atom":452}},{"Str":{"pattern":":"}},{"Entity":{"atom":35}},{"Alternative":{"atoms":[451,453]}},{"Entity":{"atom":486}},{"Entity":{"atom":459}},{"Str":{"pattern":"--"}},{"Str":{"pattern":"—"}},{"Alternative":{"atoms":[457,458]}},{"Named":{"name":"undated_marker","atom":456}},{"Entity":{"atom":485}},{"Entity":{"atom":471}},{"Entity":{"atom":466}},{"Str":{"pattern":"19"}},{"Str":{"pattern":"20"}},{"Alternative":{"atoms":[464,465]}},{"Entity":{"atom":28}},{"Repetition":{"atom":467,"min":2,"max":null,"tag":"Repetition"}},{"Entity":{"atom":28}},{"Lookahead":{"atom":469,"positive":false}},{"Sequence":{"atoms":[463,468,470]}},{"Entity":{"atom":35}},{"Entity":{"atom":475}},{"Entity":{"atom":28}},{"Repetition":{"atom":474,"min":2,"max":null,"tag":"Repetition"}},{"Sequence":{"atoms":[472,473]}},{"Repetition":{"atom":476,"min":0,"max":1,"tag":"Maybe"}},{"Entity":{"atom":35}},{"Entity":{"atom":481}},{"Entity":{"atom":28}},{"Repetition":{"atom":480,"min":2,"max":null,"tag":"Repetition"}},{"Sequence":{"atoms":[478,479]}},{"Repetition":{"atom":482,"min":0,"max":1,"tag":"Maybe"}},{"Sequence":{"atoms":[462,477,483]}},{"Named":{"name":"date","atom":484}},{"Alternative":{"atoms":[460,461]}},{"Sequence":{"atoms":[454,455]}},{"Sequence":{"atoms":[449,450]}},{"Repetition":{"atom":488,"min":0,"max":1,"tag":"Maybe"}},{"Entity":{"atom":507}},{"Entity":{"atom":505}},{"Str":{"pattern":"+"}},{"Str":{"pattern":"AMD"}},{"Str":{"pattern":"COR"}},{"Alternative":{"atoms":[493,494]}},{"Named":{"name":"supplement_type","atom":495}},{"Entity":{"atom":28}},{"Repetition":{"atom":497,"min":1,"max":null,"tag":"Repetition"}},{"Named":{"name":"supplement_number","atom":498}},{"Entity":{"atom":452}},{"Entity":{"atom":471}},{"Named":{"name":"supplement_year","atom":501}},{"Sequence":{"atoms":[500,502]}},{"Repetition":{"atom":503,"min":0,"max":1,"tag":"Maybe"}},{"Sequence":{"atoms":[492,496,499,504]}},{"Repetition":{"atom":491,"min":1,"max":null,"tag":"Repetition"}},{"Named":{"name":"consolidated_supplements","atom":506}},{"Repetition":{"atom":490,"min":0,"max":1,"tag":"Maybe"}},{"Entity":{"atom":526}},{"Entity":{"atom":6}},{"Entity":{"atom":519}},{"Str":{"pattern":"CSV"}},{"Str":{"pattern":"CMV"}},{"Str":{"pattern":"RLV"}},{"Str":{"pattern":"SER"}},{"Str":{"pattern":"EXV"}},{"Str":{"pattern":"PAC"}},{"Str":{"pattern":"PRV"}},{"Alternative":{"atoms":[512,513,514,515,516,517,518]}},{"Entity":{"atom":35}},{"Entity":{"atom":519}},{"Sequence":{"atoms":[520,521]}},{"Repetition":{"atom":522,"min":0,"max":null,"tag":"Repetition"}},{"Sequence":{"atoms":[511,523]}},{"Named":{"name":"vap_suffix","atom":524}},{"Sequence":{"atoms":[510,525]}},{"Entity":{"atom":531}},{"Entity":{"atom":6}},{"Str":{"pattern":"DB"}},{"Named":{"name":"database","atom":529}},{"Sequence":{"atoms":[528,530]}},{"Alternative":{"atoms":[509,527]}},{"Repetition":{"atom":532,"min":0,"max":1,"tag":"Maybe"}},{"Sequence":{"atoms":[441,447,489,508,533]}},{"Entity":{"atom":540}},{"Entity":{"atom":6}},{"Repetition":{"atom":536,"min":0,"max":1,"tag":"Maybe"}},{"Entity":{"atom":138}},{"Repetition":{"atom":538,"min":0,"max":1,"tag":"Maybe"}},{"Sequence":{"atoms":[537,539]}},{"Sequence":{"atoms":[275,283,285,287,429,431,432,535]}},{"Named":{"name":"base","atom":267}},{"Entity":{"atom":551}},{"Entity":{"atom":161}},{"Entity":{"atom":28}},{"Repetition":{"atom":545,"min":1,"max":null,"tag":"Repetition"}},{"Named":{"name":"sheet_number","atom":546}},{"Entity":{"atom":452}},{"Entity":{"atom":471}},{"Named":{"name":"sheet_year","atom":549}},{"Sequence":{"atoms":[544,547,548,550]}},{"Entity":{"atom":161}},{"Entity":{"atom":688}},{"Str":{"pattern":"Technology Report"}},{"Str":{"pattern":"Trend Report"}},{"Str":{"pattern":"White Paper"}},{"Str":{"pattern":"ANW Guide"}},{"Str":{"pattern":"PRF Guide"}},{"Str":{"pattern":"PWI Guide"}},{"Str":{"pattern":"ANW Frag"}},{"Str":{"pattern":"CD Guide"}},{"Str":{"pattern":"NP Guide"}},{"Str":{"pattern":"PRF Frag"}},{"Str":{"pattern":"PWI Frag"}},{"Str":{"pattern":"WD Guide"}},{"Str":{"pattern":"ANW Amd"}},{"Str":{"pattern":"ANW Cor"}},{"Str":{"pattern":"ANW ISH"}},{"Str":{"pattern":"ANW PAS"}},{"Str":{"pattern":"FDGuide"}},{"Str":{"pattern":"NP Frag"}},{"Str":{"pattern":"PRF Amd"}},{"Str":{"pattern":"PRF Cor"}},{"Str":{"pattern":"PWI Amd"}},{"Str":{"pattern":"PWI Cor"}},{"Str":{"pattern":"PWI ISH"}},{"Str":{"pattern":"PWI PAS"}},{"Str":{"pattern":"WD Frag"}},{"Str":{"pattern":"ANW TR"}},{"Str":{"pattern":"ANW TS"}},{"Str":{"pattern":"CDFRAG"}},{"Str":{"pattern":"DELPUB"}},{"Str":{"pattern":"DGuide"}},{"Str":{"pattern":"FDFRAG"}},{"Str":{"pattern":"NP Amd"}},{"Str":{"pattern":"NP Cor"}},{"Str":{"pattern":"NP ISH"}},{"Str":{"pattern":"NP PAS"}},{"Str":{"pattern":"PWI TR"}},{"Str":{"pattern":"PWI TS"}},{"Str":{"pattern":"WD Amd"}},{"Str":{"pattern":"WD ISH"}},{"Str":{"pattern":"WD PAS"}},{"Str":{"pattern":"CD TR"}},{"Str":{"pattern":"CD TS"}},{"Str":{"pattern":"CDCor"}},{"Str":{"pattern":"CDISH"}},{"Str":{"pattern":"CDPAS"}},{"Str":{"pattern":"CFDIS"}},{"Str":{"pattern":"DFRAG"}},{"Str":{"pattern":"FDCOR"}},{"Str":{"pattern":"GUIDE"}},{"Str":{"pattern":"Guide"}},{"Str":{"pattern":"NADIS"}},{"Str":{"pattern":"NFDIS"}},{"Str":{"pattern":"NP TR"}},{"Str":{"pattern":"NP TS"}},{"Str":{"pattern":"RDISH"}},{"Str":{"pattern":"RFDIS"}},{"Str":{"pattern":"WD TR"}},{"Str":{"pattern":"WD TS"}},{"Str":{"pattern":"WDCor"}},{"Str":{"pattern":"A2CD"}},{"Str":{"pattern":"A3CD"}},{"Str":{"pattern":"A4CD"}},{"Str":{"pattern":"A5CD"}},{"Str":{"pattern":"A6CD"}},{"Str":{"pattern":"A7CD"}},{"Str":{"pattern":"A8CD"}},{"Str":{"pattern":"A9CD"}},{"Str":{"pattern":"ACDV"}},{"Str":{"pattern":"ADTR"}},{"Str":{"pattern":"ADTS"}},{"Str":{"pattern":"APUB"}},{"Str":{"pattern":"AWIN"}},{"Str":{"pattern":"BPUB"}},{"Str":{"pattern":"CCDV"}},{"Str":{"pattern":"CDAM"}},{"Str":{"pattern":"CDTR"}},{"Str":{"pattern":"CDTS"}},{"Str":{"pattern":"CDVM"}},{"Str":{"pattern":"DCOR"}},{"Str":{"pattern":"DISH"}},{"Str":{"pattern":"DPAS"}},{"Str":{"pattern":"DTRM"}},{"Str":{"pattern":"DTSM"}},{"Str":{"pattern":"FDAM"}},{"Str":{"pattern":"FDIS"}},{"Str":{"pattern":"FRAG"}},{"Str":{"pattern":"NCDV"}},{"Str":{"pattern":"NDTR"}},{"Str":{"pattern":"NDTS"}},{"Str":{"pattern":"NWIP"}},{"Str":{"pattern":"PPUB"}},{"Str":{"pattern":"WPUB"}},{"Str":{"pattern":"2CD"}},{"Str":{"pattern":"3CD"}},{"Str":{"pattern":"4CD"}},{"Str":{"pattern":"5CD"}},{"Str":{"pattern":"6CD"}},{"Str":{"pattern":"7CD"}},{"Str":{"pattern":"8CD"}},{"Str":{"pattern":"9CD"}},{"Str":{"pattern":"ACD"}},{"Str":{"pattern":"AMD"}},{"Str":{"pattern":"AMW"}},{"Str":{"pattern":"ANW"}},{"Str":{"pattern":"Amd"}},{"Str":{"pattern":"BWG"}},{"Str":{"pattern":"CAN"}},{"Str":{"pattern":"CDM"}},{"Str":{"pattern":"CDV"}},{"Str":{"pattern":"COR"}},{"Str":{"pattern":"Cor"}},{"Str":{"pattern":"DAM"}},{"Str":{"pattern":"DTR"}},{"Str":{"pattern":"DTS"}},{"Str":{"pattern":"ISH"}},{"Str":{"pattern":"PAS"}},{"Str":{"pattern":"PNW"}},{"Str":{"pattern":"PRF"}},{"Str":{"pattern":"PWI"}},{"Str":{"pattern":"SRD"}},{"Str":{"pattern":"TRF"}},{"Str":{"pattern":"CA"}},{"Str":{"pattern":"CD"}},{"Str":{"pattern":"CS"}},{"Str":{"pattern":"NP"}},{"Str":{"pattern":"OD"}},{"Str":{"pattern":"RR"}},{"Str":{"pattern":"TR"}},{"Str":{"pattern":"TS"}},{"Str":{"pattern":"WD"}},{"Alternative":{"atoms":[554,555,556,557,558,559,560,561,562,563,564,565,566,567,568,569,570,571,572,573,574,575,576,577,578,579,580,581,582,583,584,585,586,587,588,589,590,591,592,593,594,595,596,597,598,599,600,601,602,603,604,605,606,607,608,609,610,611,612,613,614,615,616,617,618,619,620,621,622,623,624,625,626,627,628,629,630,631,632,633,634,635,636,637,638,639,640,641,642,643,644,645,646,647,648,649,650,651,652,653,654,655,656,657,658,659,660,661,662,663,664,665,666,667,668,669,670,671,672,673,674,675,676,677,678,679,680,681,682,683]}},{"Str":{"pattern":"FRAGC"}},{"Str":{"pattern":"FRAG"}},{"Alternative":{"atoms":[684,685,686]}},{"Named":{"name":"type_with_stage","atom":687}},{"Entity":{"atom":6}},{"Repetition":{"atom":689,"min":0,"max":1,"tag":"Maybe"}},{"Entity":{"atom":534}},{"Entity":{"atom":734}},{"Entity":{"atom":540}},{"Entity":{"atom":718}},{"Str":{"pattern":"("}},{"Entity":{"atom":716}},{"Entity":{"atom":698}},{"Entity":{"atom":21}},{"Repetition":{"atom":697,"min":1,"max":null,"tag":"Repetition"}},{"Str":{"pattern":","}},{"Repetition":{"atom":700,"min":0,"max":1,"tag":"Maybe"}},{"Sequence":{"atoms":[699,701]}},{"Entity":{"atom":710}},{"Re":{"pattern":"[E]"}},{"Re":{"pattern":"[F]"}},{"Re":{"pattern":"[A]"}},{"Re":{"pattern":"[R]"}},{"Re":{"pattern":"[D]"}},{"Re":{"pattern":"[S]"}},{"Alternative":{"atoms":[704,705,706,707,708,709]}},{"Entity":{"atom":161}},{"Repetition":{"atom":711,"min":0,"max":1,"tag":"Maybe"}},{"Sequence":{"atoms":[703,712]}},{"Alternative":{"atoms":[702,713]}},{"Repetition":{"atom":714,"min":0,"max":null,"tag":"Repetition"}},{"Named":{"name":"languages","atom":715}},{"Str":{"pattern":")"}},{"Sequence":{"atoms":[695,696,717]}},{"Repetition":{"atom":694,"min":0,"max":1,"tag":"Maybe"}},{"Entity":{"atom":729}},{"Entity":{"atom":161}},{"Str":{"pattern":"FRAGC"}},{"Str":{"pattern":"FRAG"}},{"Alternative":{"atoms":[722,723]}},{"Named":{"name":"fragment_type","atom":724}},{"Entity":{"atom":28}},{"Repetition":{"atom":726,"min":1,"max":null,"tag":"Repetition"}},{"Named":{"name":"fragment_number","atom":727}},{"Sequence":{"atoms":[721,725,728]}},{"Repetition":{"atom":720,"min":0,"max":1,"tag":"Maybe"}},{"Entity":{"atom":732}},{"Str":{"pattern":"(all parts)"}},{"Repetition":{"atom":731,"min":0,"max":1,"tag":"Maybe"}},{"Sequence":{"atoms":[693,719,730,733]}},{"Sequence":{"atoms":[542,543,552,553,690,691,692]}},{"Entity":{"atom":747}},{"Entity":{"atom":541}},{"Named":{"name":"base","atom":737}},{"Entity":{"atom":551}},{"Entity":{"atom":745}},{"Entity":{"atom":161}},{"Entity":{"atom":28}},{"Repetition":{"atom":742,"min":1,"max":null,"tag":"Repetition"}},{"Named":{"name":"sheet_number","atom":743}},{"Sequence":{"atoms":[741,744]}},{"Alternative":{"atoms":[739,740]}},{"Sequence":{"atoms":[738,746]}},{"Entity":{"atom":765}},{"Entity":{"atom":757}},{"Entity":{"atom":541}},{"Named":{"name":"base","atom":750}},{"Entity":{"atom":161}},{"Entity":{"atom":688}},{"Entity":{"atom":6}},{"Repetition":{"atom":754,"min":0,"max":1,"tag":"Maybe"}},{"Entity":{"atom":534}},{"Sequence":{"atoms":[751,752,753,755,756]}},{"Named":{"name":"base","atom":749}},{"Entity":{"atom":161}},{"Entity":{"atom":688}},{"Entity":{"atom":6}},{"Repetition":{"atom":761,"min":0,"max":1,"tag":"Maybe"}},{"Entity":{"atom":534}},{"Entity":{"atom":734}},{"Sequence":{"atoms":[758,759,760,762,763,764]}},{"Entity":{"atom":773}},{"Entity":{"atom":282}},{"Entity":{"atom":161}},{"Entity":{"atom":688}},{"Entity":{"atom":6}},{"Entity":{"atom":534}},{"Entity":{"atom":734}},{"Sequence":{"atoms":[767,768,769,770,771,772]}},{"Entity":{"atom":777}},{"Entity":{"atom":757}},{"Entity":{"atom":734}},{"Sequence":{"atoms":[775,776]}},{"Entity":{"atom":781}},{"Entity":{"atom":541}},{"Entity":{"atom":734}},{"Sequence":{"atoms":[779,780]}},{"Alternative":{"atoms":[0,142,234,266,736,748,766,774,778]}}],"root":782},"bindings":[]}},"preprocess":{},"tables":{"iec_typed_stages":{"file":"iec_typed_stages.yaml","rows":[{"abbr":"TRF"},{"abbr":"PWI Amd"},{"abbr":"NP Amd"},{"abbr":"ANW Amd"},{"abbr":"WD Amd"},{"abbr":"CDAM"},{"abbr":"DAM"},{"abbr":"FDAM"},{"abbr":"PRF Amd"},{"abbr":"Amd"},{"abbr":"AMD"},{"abbr":"PWI Cor"},{"abbr":"NP Cor"},{"abbr":"ANW Cor"},{"abbr":"WDCor"},{"abbr":"CDCor"},{"abbr":"DCOR"},{"abbr":"FDCOR"},{"abbr":"PRF Cor"},{"abbr":"Cor"},{"abbr":"COR"},{"abbr":"CS"},{"abbr":"CA"},{"abbr":"PWI Guide"},{"abbr":"NP Guide"},{"abbr":"ANW Guide"},{"abbr":"WD Guide"},{"abbr":"CD Guide"},{"abbr":"DGuide"},{"abbr":"FDGuide"},{"abbr":"PRF Guide"},{"abbr":"GUIDE"},{"abbr":"Guide"},{"abbr":"PWI"},{"abbr":"NWIP"},{"abbr":"BWG"},{"abbr":"AWIN"},{"abbr":"AMW"},{"abbr":"NP"},{"abbr":"PNW"},{"abbr":"ANW"},{"abbr":"WD"},{"abbr":"CD"},{"abbr":"2CD"},{"abbr":"3CD"},{"abbr":"4CD"},{"abbr":"5CD"},{"abbr":"6CD"},{"abbr":"7CD"},{"abbr":"8CD"},{"abbr":"9CD"},{"abbr":"ACD"},{"abbr":"A2CD"},{"abbr":"A3CD"},{"abbr":"A4CD"},{"abbr":"A5CD"},{"abbr":"A6CD"},{"abbr":"A7CD"},{"abbr":"A8CD"},{"abbr":"A9CD"},{"abbr":"CDM"},{"abbr":"CDV"},{"abbr":"ACDV"},{"abbr":"CCDV"},{"abbr":"CDVM"},{"abbr":"NCDV"},{"abbr":"FDIS"},{"abbr":"PRF"},{"abbr":"NFDIS"},{"abbr":"NADIS"},{"abbr":"RDISH"},{"abbr":"RFDIS"},{"abbr":"CFDIS"},{"abbr":"BPUB"},{"abbr":"PPUB"},{"abbr":"APUB"},{"abbr":"WPUB"},{"abbr":"DELPUB"},{"abbr":"RR"},{"abbr":"CAN"},{"abbr":"PWI ISH"},{"abbr":"NP ISH"},{"abbr":"ANW ISH"},{"abbr":"WD ISH"},{"abbr":"CDISH"},{"abbr":"DISH"},{"abbr":"ISH"},{"abbr":"OD"},{"abbr":"PWI PAS"},{"abbr":"NP PAS"},{"abbr":"ANW PAS"},{"abbr":"WD PAS"},{"abbr":"CDPAS"},{"abbr":"DPAS"},{"abbr":"PAS"},{"abbr":"Trend Report"},{"abbr":"PWI TR"},{"abbr":"NP TR"},{"abbr":"ANW TR"},{"abbr":"WD TR"},{"abbr":"CD TR"},{"abbr":"DTR"},{"abbr":"ADTR"},{"abbr":"CDTR"},{"abbr":"DTRM"},{"abbr":"NDTR"},{"abbr":"DTSM"},{"abbr":"TR"},{"abbr":"SRD"},{"abbr":"Technology Report"},{"abbr":"PWI TS"},{"abbr":"NP TS"},{"abbr":"ANW TS"},{"abbr":"WD TS"},{"abbr":"CD TS"},{"abbr":"DTS"},{"abbr":"ADTS"},{"abbr":"CDTS"},{"abbr":"NDTS"},{"abbr":"TS"},{"abbr":"White Paper"},{"abbr":"PWI Frag"},{"abbr":"NP Frag"},{"abbr":"ANW Frag"},{"abbr":"WD Frag"},{"abbr":"CDFRAG"},{"abbr":"DFRAG"},{"abbr":"FDFRAG"},{"abbr":"PRF Frag"},{"abbr":"FRAG"}]}},"lint":{"order_warnings":["rule dash: branches 2 and 3 are order-dependent (shared first bytes; ordered choice is decisive)","rule organization: branches 1 and 2 are order-dependent (shared first bytes; ordered choice is decisive)","rule organization: branches 1 and 3 are order-dependent (shared first bytes; ordered choice is decisive)","rule organization: branches 2 and 3 are order-dependent (shared first bytes; ordered choice is decisive)","rule organization: branches 4 and 6 are order-dependent (shared first bytes; ordered choice is decisive)","rule organization: branches 4 and 11 are order-dependent (shared first bytes; ordered choice is decisive)","rule organization: branches 6 and 11 are order-dependent (shared first bytes; ordered choice is decisive)","rule organization: branches 7 and 8 are order-dependent (shared first bytes; ordered choice is decisive)","rule tc_type: branches 1 and 2 are order-dependent (shared first bytes; ordered choice is decisive)","rule tc_body: branches 1 and 2 are order-dependent (shared first bytes; ordered choice is decisive)","rule technical_group: branches 1 and 2 are order-dependent (shared first bytes; ordered choice is decisive)","rule wp_number: branches 1 and 2 are order-dependent (shared first bytes; ordered choice is decisive)","rule number: branches 1 and 5 are order-dependent (shared first bytes; ordered choice is decisive)","rule number: branches 2 and 5 are order-dependent (shared first bytes; ordered choice is decisive)","rule number: branches 3 and 5 are order-dependent (shared first bytes; ordered choice is decisive)","rule number: branches 4 and 6 are order-dependent (shared first bytes; ordered choice is decisive)","rule vap_code: branches 1 and 2 are order-dependent (shared first bytes; ordered choice is decisive)","rule vap_code: branches 6 and 7 are order-dependent (shared first bytes; ordered choice is decisive)","rule edition_str: branches 1 and 2 are order-dependent (shared first bytes; ordered choice is decisive)","rule edition_str: branches 1 and 3 are order-dependent (shared first bytes; ordered choice is decisive)","rule edition_str: branches 1 and 4 are order-dependent (shared first bytes; ordered choice is decisive)","rule edition_str: branches 2 and 3 are order-dependent (shared first bytes; ordered choice is decisive)","rule edition_str: branches 2 and 4 are order-dependent (shared first bytes; ordered choice is decisive)","rule edition_str: branches 3 and 4 are order-dependent (shared first bytes; ordered choice is decisive)","rule guide_prefix: branches 1 and 2 are order-dependent (shared first bytes; ordered choice is decisive)","rule identifier: branches 1 and 2 are order-dependent (shared first bytes; ordered choice is decisive)","rule identifier: branches 1 and 3 are order-dependent (shared first bytes; ordered choice is decisive)","rule identifier: branches 1 and 4 are order-dependent (shared first bytes; ordered choice is decisive)","rule identifier: branches 1 and 5 are order-dependent (shared first bytes; ordered choice is decisive)","rule identifier: branches 1 and 6 are order-dependent (shared first bytes; ordered choice is decisive)","rule identifier: branches 1 and 8 are order-dependent (shared first bytes; ordered choice is decisive)","rule identifier: branches 1 and 9 are order-dependent (shared first bytes; ordered choice is decisive)","rule identifier: branches 2 and 3 are order-dependent (shared first bytes; ordered choice is decisive)","rule identifier: branches 2 and 4 are order-dependent (shared first bytes; ordered choice is decisive)","rule identifier: branches 2 and 5 are order-dependent (shared first bytes; ordered choice is decisive)","rule identifier: branches 2 and 6 are order-dependent (shared first bytes; ordered choice is decisive)","rule identifier: branches 2 and 7 are order-dependent (shared first bytes; ordered choice is decisive)","rule identifier: branches 2 and 8 are order-dependent (shared first bytes; ordered choice is decisive)","rule identifier: branches 2 and 9 are order-dependent (shared first bytes; ordered choice is decisive)","rule identifier: branches 3 and 4 are order-dependent (shared first bytes; ordered choice is decisive)","rule identifier: branches 3 and 5 are order-dependent (shared first bytes; ordered choice is decisive)","rule identifier: branches 3 and 6 are order-dependent (shared first bytes; ordered choice is decisive)","rule identifier: branches 3 and 7 are order-dependent (shared first bytes; ordered choice is decisive)","rule identifier: branches 3 and 8 are order-dependent (shared first bytes; ordered choice is decisive)","rule identifier: branches 3 and 9 are order-dependent (shared first bytes; ordered choice is decisive)","rule identifier: branches 4 and 5 are order-dependent (shared first bytes; ordered choice is decisive)","rule identifier: branches 4 and 6 are order-dependent (shared first bytes; ordered choice is decisive)","rule identifier: branches 4 and 7 are order-dependent (shared first bytes; ordered choice is decisive)","rule identifier: branches 4 and 8 are order-dependent (shared first bytes; ordered choice is decisive)","rule identifier: branches 4 and 9 are order-dependent (shared first bytes; ordered choice is decisive)","rule identifier: branches 5 and 6 are order-dependent (shared first bytes; ordered choice is decisive)","rule identifier: branches 5 and 7 are order-dependent (shared first bytes; ordered choice is decisive)","rule identifier: branches 5 and 8 are order-dependent (shared first bytes; ordered choice is decisive)","rule identifier: branches 5 and 9 are order-dependent (shared first bytes; ordered choice is decisive)","rule identifier: branches 6 and 7 are order-dependent (shared first bytes; ordered choice is decisive)","rule identifier: branches 6 and 8 are order-dependent (shared first bytes; ordered choice is decisive)","rule identifier: branches 6 and 9 are order-dependent (shared first bytes; ordered choice is decisive)","rule identifier: branches 7 and 8 are order-dependent (shared first bytes; ordered choice is decisive)","rule identifier: branches 7 and 9 are order-dependent (shared first bytes; ordered choice is decisive)","rule identifier: branches 8 and 9 are order-dependent (shared first bytes; ordered choice is decisive)"]},"default_entry":"identifier","render":{},"derive":{},"tests":[{"entry":"identifier","kind":"accept","input":"IEC 60050","expect":{}},{"entry":"identifier","kind":"accept","input":"IEC 8601-1:2019","expect":{}},{"entry":"identifier","kind":"accept","input":"CISPR 16-1-1","expect":{}},{"entry":"identifier","kind":"accept","input":"IECQ OD 1234","expect":{}},{"entry":"identifier","kind":"accept","input":"IEC/TS 80000-1","expect":{}},{"entry":"identifier","kind":"reject","input":"nonsense","expect":{}}],"docs":{"prefix_sole_publisher":"IEC publishers, longest-first: the qualified forms must precede\nthe bare \"IEC\"."},"source":"# Port of lib/pubid/iec/parser.rb. Deviations:\n# - joint_identifier (IEC x | ISO y) awaits PG cross-file imports; the\n# ISO joint grammar cannot be inlined at reasonable size. Noted here;\n# slots back into the root ahead of identifier_copublishers.\n# - the IEV → \"IEC 60050\" input shorthand is pre-parse normalization and\n# stays binder-side.\n\ngrammar PubidIec version \"0.1.0\" {\n digit = %x30-39\n upper = %x41-5A\n lower = %x61-7A\n letter = upper / lower\n alnum_char = upper / lower / digit\n word_ext_char = alnum_char / %x5F / %x26 / %x2C\n space = \" \"\n dash = \"-\" / \"‑\" / \"‐\"\n dot = \".\"\n slash = \"/\"\n colon = \":\"\n comma = \",\"\n century = \"19\" / \"20\"\n year_digits = century 2*digit !digit\n month_digits = 2*digit\n day_digits = 2*digit\n digits = 1*digit\n\n ## IEC publishers, longest-first: the qualified forms must precede\n ## the bare \"IEC\".\n prefix_sole_publisher = (\"IECQ OD\" / \"IECQ CS\" / \"IEC CAB\" / \"IEC CA\" / \"IECRE\" / \"CISPR\" / \"IECEE\" / \"IECEx\" / \"IECQ\" / \"IEC\" / \"ISO\") as publisher\n organization = \"IEC\" / \"ISO\" / \"IEEE\" / \"CIW\" / \"SAE\" / \"CIE\" / \"ASME\" / \"ASTM\" / \"OECD\" / \"HL7\" / \"CEI\" / \"UNDP\"\n copublishers_item = slash [space] organization as copublisher\n copublishers = (*copublishers_item) as copublishers\n prefix_with_copublishers = prefix_sole_publisher [space] [copublishers]\n\n tc_type = \"JTC\" / \"JPC\" / \"TC\" / \"SC\" / \"PC\"\n tc_body = \"CISPR\" / (\"CIS\" slash upper) / (tc_type space digits [*upper])\n sc_body = \"SC\" space digits [*upper]\n technical_group_with_publisher = (prefix_sole_publisher [copublishers] space tc_body as technical_committee [((slash [space] sc_body) as subcommittee)])\n technical_group_bare = (tc_body as technical_committee [((slash [space] sc_body) as subcommittee)])\n technical_group = technical_group_with_publisher / technical_group_bare\n\n wp_type = ((\"TR\" / \"TS\" / \"SRD\") space) as wp_type\n wp_number = ((1*letter *alnum_char [(dash 1*digit)]) as number_with_part) / number_with_part\n working_programme = ((\"PWI\" / \"PNW\") as wp_stage space [wp_type] wp_number [(space edition)])\n\n working_document = (((\"JTC1-SC\" 1*digit) / (1*upper slash 1*upper) / 1*alnum_char) as technical_committee slash (1*alnum_char) as wd_number [(\"(\" upper as wd_language \")\")] [(slash (1*upper) as wd_stage)])\n\n number = ((\"DIR\" *(space 1*upper_digit)) / \"VIM\" / \"SYMBOL\" / (1*6digit \"v\" 1*digit *letter [(\"_\" 1*letter)]) / (2*4upper [(dash 1*digit)] *upper_digit) / (1*6digit [*1letter [(\"_\" 1*letter)]]))\n upper_digit = upper / digit\n part_and_subpart = (dash / comma) [space] 1*word_ext_char *((dash / comma) 1*word_ext_char)\n number_with_part = (number [part_and_subpart]) as number_with_part\n trf_org_number = (\"CISPR\" space) as trf_org number_with_part\n stage_iteration = dot digit as stage_iteration\n\n undated = \"--\" / \"—\"\n full_date = (year_digits [(dash month_digits)] [(dash day_digits)]) as date\n date_body = undated as undated_marker / full_date\n date = (colon / dash) date_body\n\n vap_code = \"CSV\" / \"CMV\" / \"RLV\" / \"SER\" / \"EXV\" / \"PAC\" / \"PRV\"\n vap_suffix = space (vap_code *(dash vap_code)) as vap_suffix\n database_suffix = space \"DB\" as database\n consolidated_supplement = \"+\" (\"AMD\" / \"COR\") as supplement_type (1*digit) as supplement_number [(colon year_digits as supplement_year)]\n consolidated_supplements = (1*consolidated_supplement) as consolidated_supplements\n second_part = (trf_org_number / number_with_part) [stage_iteration] [[space] date] [consolidated_supplements] [vap_suffix / database_suffix]\n\n edition_str = \"Edition\" / \"Ed.\" / \"ED\" / \"Ed\"\n edition = edition_str [space] (1*digit [(dot 1*digit)]) as edition\n\n one_of_efards = %x45 / %x46 / %x41 / %x52 / %x44 / %x53\n lower_char = lower\n languages = (*(1*lower_char [\",\"] / (one_of_efards [slash]))) as languages\n language = \"(\" languages \")\"\n all_parts = \"(all parts)\"\n fragment_notation = slash (\"FRAGC\" / \"FRAG\") as fragment_type (1*digit) as fragment_number\n third_part_edition = [space] [edition]\n third_part = third_part_edition [language] [fragment_notation] [all_parts]\n\n type_with_stage = alt from_table \"iec_typed_stages\" column \"abbr\" as type_with_stage [digit as stage_iteration space]\n supplement_type_with_stage = (alt from_table \"iec_typed_stages\" column \"abbr\" / \"FRAGC\" / \"FRAG\") as type_with_stage\n\n guide_prefix = \"Guide\" / \"GUIDE\"\n identifier_copublishers_no_third = [guide_prefix as type_with_stage_fr space] [prefix_with_copublishers] [space] [slash] (type_with_stage / \"\" as type_with_stage) [space] second_part third_part_edition\n identifier_copublishers = identifier_copublishers_no_third third_part\n\n sheet_notation = slash (1*digit) as sheet_number colon year_digits as sheet_year\n sheet_notation_no_year = slash (1*digit) as sheet_number\n sheet_identifier = (identifier_copublishers_no_third as base) (sheet_notation / sheet_notation_no_year)\n sheet_supplement_identifier = (identifier_copublishers_no_third as base) sheet_notation slash supplement_type_with_stage [space] second_part third_part\n standalone_supplement = prefix_with_copublishers slash supplement_type_with_stage space second_part third_part\n supplement_identifier_no_third = (identifier_copublishers_no_third as base) slash supplement_type_with_stage [space] second_part\n supplement_identifier = supplement_identifier_no_third third_part\n supplement_supplement_identifier = (supplement_identifier_no_third as base) slash supplement_type_with_stage [space] second_part third_part\n\n identifier = working_programme / technical_group / working_document / sheet_supplement_identifier / sheet_identifier / supplement_supplement_identifier / standalone_supplement / supplement_identifier / identifier_copublishers\n\n entry identifier: identifier\n\n test {\n accept \"IEC 60050\"\n accept \"IEC 8601-1:2019\"\n accept \"CISPR 16-1-1\"\n accept \"IECQ OD 1234\"\n accept \"IEC/TS 80000-1\"\n reject \"nonsense\"\n }\n}\n","checksum":"sha256:d5db838b75a857309c1e2feb75f25a719ed62b416640f4b1f9a6d165956a53c2"}