SESAR JSON LD Sample Description Schema Draft - GeoSamples/sesar-rest-api GitHub Wiki

Sample Profile JSON schema

Google schema.org documentations:

List of Terms and Properties

  • context

  • type: "Sample", Dataset(google term) ????

  • id: IGSN URL (http://igsn.org/xxx)

  • sameAs: landing page URL (https://data.geosamples.org/sample/igsn/xxxxxx)

  • description: description of sample

  • name: name of sample

  • keywords: igsn: IGSN value, userCode: igsn prefix, sampletype:core

  • material: top level classification type

  • contributor

    • type: "Role",
    • roleName: "Curator" or "Archive Contact" or "Scientist" or "registrant" or "owner"
    • author:
      • type: Person
      • name: Full name
      • givenName: First name and middle name initial
      • familyName: last name
      • sameAs: ORCID URL
  • spatial

    • type: Place
      • geo:
        • type: GeoCoordinates
        • latitude": decimal number
        • longitude": decimal number
      • geo:
        • type: GeoShape
        • box: list of decimal number
        • polygon: list of decimal number
  • dateCreated: The IGSN sample registration date.

  • datePublished: The IGSN metadata published date.

  • publisher

  • hasPart: To include related identifier

    • identifier:
      • type: DOI
      • URL: ECL dataset DOI URL
      • value: dataset DOI URL
    • identifier:
      • type: Cruise DOI,
      • URL: Put Cruise ID URL
      • value: Cruise ID value
    • identifier:
      • type: IGSN, File or other
      • relationshipType: IsSameAs, IsDerivedFrom, IsSourceOf , IsAggregateOf , IsMemberOf , HasReferenceResource, IsIdenticalTo (Prefer IsSameAs because it is Google term also), IsDocumentedBy
      • URL: http://igsn.org/xxxxxx
      • value: IGSN value
  • "license":"https://creativecommons.org/licenses/by-sa/4.0"


{
    "@context": {
        "@vocab": "http://schema.org",
        "igsn-json": "https://schema.igsn.org/sample/v1"
    },
    "@id": "http://igsn.org/DSR000008",
    "@type": "Dataset",
    "name": "RC0019028P",
    "description":"IGSN sample profile description XXXXXX ................................................minimum 50 charactors",
    "keywords":"usercode:DSR, igsn:DSR000008, sampletype:Core",
    "material":"rock",
    "sameAs": "https://data.geosamples.org/sample/igsn/DSR000008",
    "author": [
        {
            "@type": "Role",
            "roleName": "Sample Owner",
            "author": [
                {
                    "@type": "Person",
                    "name": "corelab repository",
                    "givenName": "corelab",
                    "familyName": "repository"
                },
                {
                    "@type": "Person",
                    "name": "corelab repository",
                    "givenName": "corelab",
                    "familyName": "repository"
                }
            ]
        },
        {
            "@type": "Role",
            "roleName": "Sample Registrant",
            "author": [
                {
                    "@type": "Person",
                    "name": "corelab repository",
                    "givenName": "corelab",
                    "familyName": "repository"
                },
                {
                    "@type": "Person",
                    "name": "corelab repository",
                    "givenName": "corelab",
                    "familyName": "repository"
                }
            ]
        }
    ],
    "dateCreated": "2007-09-12",
    "datePublished": "2010-12-10",
    "publisher": {
        "contactPoint": {
            "@type": "ContactPoint",
            "name": "Information Desk",
            "contactType": "Customer Service",
            "email": "[email protected]",
            "url": "https://www.geosamples.org/contact/"
        },
        "@type": "Organization",
        "name": "EarthChem",
        "@id": "https://www.geosamples.org",
        "url": "https://www.geosamples.org"
    },
    "url": "http://igsn.org/DSR000008",
    "spatial": {
            "geo": [
            {
                "@type": "GeoCoordinates",
                "latitude": "23.6830",
                "longitude": "-60.0500"
            }
        ],
        "@type": "Place"
    },
    "hasPart": {
        "identifier": [
            {
                "@type": "PropertyValue",
                "propertyId": "regular URL",
                "url": "http://www.ngdc.noaa.gov/geosamples/showsample.jsp?igsn=DSR000008Link to IMLGS, Index to Marine & Lacustrine Geological Samples",
                "value": "Link to IMLGS, Index to Marine & Lacustrine Geological Samples"
            }
        ],
        "@type": "CreativeWork"
    },
    "license":"https://creativecommons.org/licenses/by-sa/4.0"
}