Closed mico closed 1 year ago
And I've updated the sample to cover type-stage per document type:
INTERNATIONAL_STANDARD = {...}
TECHNICAL_SPECIFICATION = {...}
TECHNICAL_REPORT = {
type_stage: {
pwitr: {
abbr: "PWI TR",
name: "Preliminary Work Item Technical Report",
harmonized_stages: [ "10.00", "10.20", ... ]
},
awitr: {
abbr: "AWI TR",
name: "Approved Work Item Technical Report",
harmonized_stages: [ "10.99" ]
},
wdtr: {
abbr: "WD TR",
name: "Working Draft Technical Report",
harmonized_stages: [ 20 ]
},
wdtr: {
abbr: "WD TR",
name: "Working Draft Technical Report",
harmonized_stages: [ 20 ]
},
cdtr: {
abbr: "CD TR",
name: "Committee Draft Technical Report",
harmonized_stages: [ 30 ]
},
dtr: {
abbr: "DTR",
name: "Draft Technical Report",
harmonized_stages: [ 40, 50 ]
},
tr: {
abbr: "TR",
name: "Technical Report",
harmonized_stages: [ "60" ] # etc.
}
}
already implemented in pubid-core
: https://github.com/metanorma/pubid-core/blob/main/spec/pubid_core/harmonized_stage_code_spec.rb
Excellent change that we're now using lower case symbols! I would like to also add the other information as relating to types, i.e.
See this for valid stages for different documents: https://www.iso.org/sites/directives/current/consolidated/index.xhtml
_Originally posted by @ronaldtse in https://github.com/metanorma/pubid-iso/pull/134#discussion_r989710127_