relaton / relaton-plateau

Relaton for Project PLATEAU by MLIT
0 stars 1 forks source link

schema-version is missing for bibdata in Plateau XML #17

Closed strogonoff closed 1 month ago

strogonoff commented 1 month ago
Screenshot 2024-10-02 at 15 02 58

It’s optional, but I want to know at least what is the version I should assume, and if someone can make it appear in the XML please do.

ronaldtse commented 1 month ago

@andrew2net do we have schema-version across all Relaton gems? If not, can we ensure that? Thanks!

andrew2net commented 1 month ago

@strogonoff @ronaldtse bibdata has common schema-version but missed flavor-specific schema-version in ext section because it is empty in the grammar versions list generated by metanorma-model-iso https://github.com/metanorma/metanorma-model-iso/blob/44d546a893233e3bac4b12a2a9e7288d8c7ed5ac/grammars/make.sh#L10 ping @opoudjis

$ relaton fetch 'PLATEAU Handbook #03 1.0'
<bibdata type="standard" schema-version="v1.2.9">
  <fetched>2024-10-02</fetched>
  <title type="main" format="text/plain" language="ja" script="Jpan">3D都市モデル整備のためのBIM活用マニュアル</title>
  <title type="main" format="text/plain" language="en" script="Latn">Manual for the Integration of BIM Models in 3D City Models with CityGML</title>
  <uri type="pdf">https://www.mlit.go.jp/plateau/file/libraries/doc/plateau_doc_0003_ver01.pdf</uri>
  <docidentifier type="PLATEAU" primary="true">PLATEAU Handbook #03 1.0</docidentifier>
  ...
  <ext>
    <doctype>handbook</doctype>
    <structuredidentifier type="Handbook">
      <agency>PLATEAU</agency>
      <docnumber>03</docnumber>
      <edition>1.0</edition>
    </structuredidentifier>
    <cover>
      <image src="https://www.mlit.go.jp//plateau/uploads/2022/03/4@2x.jpg" mimetype="image/jpeg"/>
    </cover>
    <filesize>3409322</filesize>
  </ext>
</bibdata>

grammars/versions.json

{
"relaton-models": "v1.4.0",
"basicdoc-models": "v1.2.2",
"metanorma-requirements-models": "v1.0.2",
"relaton-model-ieee": "v1.0.1",
"relaton-model-iso": "v1.0.4",
"relaton-model-iec": "v1.0.0",
"relaton-model-bsi": "v1.0.2",
"relaton-model-gb": "v1.0.0",
"relaton-model-mpfa": "v1.0.0",
"relaton-model-bipm": "v1.0.1",
"relaton-model-w3c": "v1.0.0",
"relaton-model-3gpp": "v1.0.1",
"relaton-model-csa": "v1.0.0",
"relaton-model-cc": "v1.0.0",
"relaton-model-ietf": "v1.0.1",
"relaton-model-iho": "v1.0.0",
"relaton-model-itu": "v1.0.2",
"relaton-model-m3aawg": "v1.0.0",
"relaton-model-nist": "v1.0.0",
"relaton-model-ribose": "v1.0.0",
"relaton-model-ogc": "v1.0.1",
"relaton-model-un": "v1.0.0",
"relaton-model-cen": "v1.0.1",
"relaton-model-ecma": "v1.0.0",
"relaton-model-cie": "v1.0.0",
"relaton-model-iana": "v1.0.0",
"relaton-model-omg": "v1.0.0",
"relaton-model-oasis": "v1.0.1",
"relaton-model-jis": "v0.0.1",
"relaton-model-etsi": "v0.0.3",
"relaton-model-plateau": "",          <= EMPTY!!
"metanorma-model": "v1.3.4",
"date": "2024-10-01T19:29:08Z"
}
opoudjis commented 1 month ago

Huh, never tagged a release for relaton-model-plateau. Should now be fixed: @andrew2net please confirm.

andrew2net commented 1 month ago

@opoudjis confirm it's fixed in metanorma-model-iso. It needs to release relaton-bib which keeps all the schema versions.