relaton / relaton-nist

NistBib: retrieve NIST Standards for bibliographic use using the BibliographicItem model
https://www.metanorma.com
MIT License
2 stars 2 forks source link

Fetch CSRC publications from new CSRC JSON file #16

Closed ronaldtse closed 5 years ago

ronaldtse commented 5 years ago

CSRC (csrc.nist.gov) will offer a JSON file that is around 700k uncompressed 70k compressed.

It will contain all CSRC publications in a Relaton-JSON-like format, complete with drafts, relations, contributors, and the other data elements.

This issue is to make relaton-nist query this CSRC endpoint to fetch bibliographic information for those publications:

Here's an example for SP 800-116 documents (3 of them, SP 800-116, SP 800-116 Rev. 1, SP 800-116 Rev. 1 Draft):

[
  {
    "language": "en",
    "script": "Latn",
    "series": "nist-sp",
    "docnumber": "800-116",
    "docidentifier": "SP 800-116",
    "revision": null,
    "edition": null,
    "volume": null,
    "uri": "https://csrc.nist.gov/publications/detail/sp/800-116/archive/2008-11-20",
    "doi": "10.6028/NIST.SP.800-116",
    "title-main": "A Recommendation for the Use of PIV Credentials in Physical Access Control Systems (PACS)",
    "title-sub": null,
    "iteration": null,
    "issued-date": "2008-11",
    "updated-date": null,
    "published-date": "2008-11-20",
    "obsoleted-date": "2018-06-29",
    "status": "final",
    "substage": "withdrawn",
    "authors": [
      {
        "title": null,
        "givenName": "William",
        "middlename": "I.",
        "surname": "MacGregor",
        "suffix": null,
        "nickname": "Bill",
        "affiliation": {
          "name": "National Institute of Standards and Technology",
          "acronym": "NIST"
        },
        "fullname": "William I. MacGregor"
      },
      {
        "title": null,
        "givenName": "Ketan",
        "middlename": "L.",
        "surname": "Mehta",
        "suffix": null,
        "nickname": null,
        "affiliation": {
          "name": "Mehta",
          "acronym": null
        },
        "fullname": "Ketan L. Mehta"
      },
      {
        "title": "Dr.",
        "givenName": "David",
        "middlename": "A.",
        "surname": "Cooper",
        "suffix": null,
        "nickname": null,
        "affiliation": {
          "name": "National Institute of Standards and Technology",
          "acronym": "NIST"
        },
        "fullname": "Dr. David A. Cooper"
      },
      {
        "title": null,
        "givenName": "Karen",
        "middlename": "A.",
        "surname": "Scarfone",
        "suffix": null,
        "nickname": null,
        "affiliation": {
          "name": "National Institute of Standards and Technology",
          "acronym": "NIST"
        },
        "fullname": "Karen A. Scarfone"
      }
    ],
    "editors": [

    ],
    "supersedes": [

    ],
    "superseded-by": [
      {
        "uri": "https://csrc.nist.gov/publications/detail/sp/800-116/rev-1/final",
        "docidentifier": "SP 800-116 Rev. 1"
      }
    ],
    "keywords": [
      "HSPD-12",
      "PIV",
      "PACS",
      "FIPS 201",
      "PIV authentication mechanisms",
      "Smart Card"
    ],
    "comment-from": null,
    "comment-to": null
  },
  {
    "language": "en",
    "script": "Latn",
    "series": "nist-sp",
    "docnumber": "800-116",
    "docidentifier": "SP 800-116 Rev. 1",
    "revision": "1",
    "edition": null,
    "volume": null,
    "uri": "https://csrc.nist.gov/publications/detail/sp/800-116/rev-1/final",
    "doi": "10.6028/NIST.SP.800-116r1",
    "title-main": "Guidelines for the Use of PIV Credentials in Facility Access",
    "title-sub": null,
    "iteration": null,
    "issued-date": "2018-06",
    "updated-date": null,
    "published-date": "2018-06-29",
    "obsoleted-date": null,
    "status": "final",
    "substage": "active",
    "authors": [
      {
        "title": null,
        "givenName": "Hildegard",
        "middlename": null,
        "surname": "Ferraiolo",
        "suffix": null,
        "nickname": "Hildy",
        "affiliation": {
          "name": "National Institute of Standards and Technology",
          "acronym": "NIST"
        },
        "fullname": "Hildegard Ferraiolo"
      },
      {
        "title": null,
        "givenName": "Ketan",
        "middlename": "L.",
        "surname": "Mehta",
        "suffix": null,
        "nickname": null,
        "affiliation": {
          "name": "National Institute of Standards and Technology",
          "acronym": "NIST"
        },
        "fullname": "Ketan L. Mehta"
      },
      {
        "title": null,
        "givenName": "Nabil",
        "middlename": null,
        "surname": "Ghadiali",
        "suffix": null,
        "nickname": null,
        "affiliation": {
          "name": "National Gallery of Art",
          "acronym": null
        },
        "fullname": "Nabil Ghadiali"
      },
      {
        "title": null,
        "givenName": "Jason",
        "middlename": null,
        "surname": "Mohler",
        "suffix": null,
        "nickname": null,
        "affiliation": {
          "name": "Electrosoft Services",
          "acronym": null
        },
        "fullname": "Jason Mohler"
      },
      {
        "title": null,
        "givenName": "Vincent",
        "middlename": null,
        "surname": "Johnson",
        "suffix": null,
        "nickname": null,
        "affiliation": {
          "name": "Electrosoft Services",
          "acronym": null
        },
        "fullname": "Vincent Johnson"
      },
      {
        "title": null,
        "givenName": "Steven",
        "middlename": null,
        "surname": "Brady",
        "suffix": null,
        "nickname": null,
        "affiliation": {
          "name": "Electrosoft Services",
          "acronym": null
        },
        "fullname": "Steven Brady"
      }
    ],
    "editors": [

    ],
    "supersedes": [
      {
        "uri": "https://csrc.nist.gov/publications/detail/sp/800-116/archive/2008-11-20",
        "docidentifier": "SP 800-116"
      }
    ],
    "superseded-by": [

    ],
    "keywords": [
      "credential",
      "e-authentication",
      "identity credential",
      "issuance",
      "personal identity verification (PIV)",
      "physical access control system (PACS)",
      "PIV authentication mechanisms",
      "PIV cards",
      "public key infrastructure (PKI)",
      "validation"
    ],
    "comment-from": null,
    "comment-to": null
  },
  {
    "language": "en",
    "script": "Latn",
    "series": "nist-sp",
    "docnumber": "800-116",
    "docidentifier": "SP 800-116 Rev. 1 (DRAFT)",
    "revision": "1",
    "edition": null,
    "volume": null,
    "uri": "https://csrc.nist.gov/publications/detail/sp/800-116/rev-1/archive/2015-12-28",
    "doi": null,
    "title-main": "A Recommendation for the Use of PIV Credentials in Physical Access Control Systems (PACS)",
    "title-sub": null,
    "iteration": null,
    "issued-date": "2015-12",
    "updated-date": null,
    "published-date": "2015-12-28",
    "obsoleted-date": "2018-06-29",
    "status": "draft-public",
    "substage": "withdrawn",
    "authors": [
      {
        "title": null,
        "givenName": "Hildegard",
        "middlename": null,
        "surname": "Ferraiolo",
        "suffix": null,
        "nickname": "Hildy",
        "affiliation": {
          "name": "National Institute of Standards and Technology",
          "acronym": "NIST"
        },
        "fullname": "Hildegard Ferraiolo"
      },
      {
        "title": "Dr.",
        "givenName": "David",
        "middlename": "A.",
        "surname": "Cooper",
        "suffix": null,
        "nickname": null,
        "affiliation": {
          "name": "National Institute of Standards and Technology",
          "acronym": "NIST"
        },
        "fullname": "Dr. David A. Cooper"
      },
      {
        "title": null,
        "givenName": "Nabil",
        "middlename": null,
        "surname": "Ghadiali",
        "suffix": null,
        "nickname": null,
        "affiliation": {
          "name": "National Gallery of Art",
          "acronym": null
        },
        "fullname": "Nabil Ghadiali"
      },
      {
        "title": null,
        "givenName": "Jason",
        "middlename": null,
        "surname": "Mohler",
        "suffix": null,
        "nickname": null,
        "affiliation": {
          "name": "Electrosoft Services",
          "acronym": null
        },
        "fullname": "Jason Mohler"
      },
      {
        "title": null,
        "givenName": "Vincent",
        "middlename": null,
        "surname": "Johnson",
        "suffix": null,
        "nickname": null,
        "affiliation": {
          "name": "Electrosoft Services",
          "acronym": null
        },
        "fullname": "Vincent Johnson"
      },
      {
        "title": null,
        "givenName": "Steven",
        "middlename": null,
        "surname": "Brady",
        "suffix": null,
        "nickname": null,
        "affiliation": {
          "name": "Electrosoft Services",
          "acronym": null
        },
        "fullname": "Steven Brady"
      }
    ],
    "editors": [

    ],
    "supersedes": [

    ],
    "superseded-by": [

    ],
    "keywords": [
      "e-authentication",
      "identity assurance level",
      "identity credential",
      "issuance",
      "PACS",
      "PIV authentication mechanisms",
      "PIV cards",
      "PKI",
      "credential",
      "validation"
    ],
    "comment-from": "2015-12-28",
    "comment-to": "2016-03-01"
  }
...
]
andrew2net commented 5 years ago

duplicate https://github.com/metanorma/relaton-nist/issues/20