Sha256: 25a7e548df5f304f6e55a0b4a80ae21efd09a88f9ad5c69140d2d19c452c0b12

Contents?: true

Size: 1.96 KB

Versions: 1

Compression:

Stored size: 1.96 KB

Contents

{
  "id": "schema.json#",
  "$schema": "http://json-schema.org/draft-04/schema#",
  "version": "2.2.0",
  "description": "schema for ADIwg mdJSON metadata",
  "example": "../examples/mdJson.json",
  "type": "object",
  "required": ["schema", "contact"],
  "properties": {
    "schema": {
      "$ref": "#/definitions/schema"
    },
    "contact": {
      "type": "array",
      "description": "An array of contacts to be referenced throughout the metadata. Any contact used in the metadata record must be stored within this array and referenced by contactId. Items in array may be used 0-n times throughout the record.",
      "minItems": 1,
      "uniqueItems": true,
      "items": {
        "$ref": "contact.json"
      }
    },
    "metadata": {
      "$ref": "metadata.json"
    },
    "metadataRepository": {
      "type": "array",
      "description": "Identifies repositories for distribution of the resource metadata.",
      "uniqueItems": true,
      "items": {
        "$ref": "metadataRepository.json"
      }
    },
    "dataDictionary": {
      "type": "array",
      "description": "A description of the contents, format and structure of the physical objects in a data resource.",
      "translation": {
        "ISO 19115-2": ["FC_FeatureCatalogue"]
      },
      "example": "../examples/dataDictionary.json",
      "items": {
        "$ref": "dataDictionary.json"
      }
    }
  },
  "definitions": {
    "schema": {
      "type": "object",
      "description": "Identifies the version of the JSON schema standard that applies to the metadata.",
      "required": ["name", "version"],
      "additionalProperties": true,
      "properties": {
        "name": {
          "type": "string",
          "description": "Schema identifier, i.e. the name of the schema standard."
        },
        "version": {
          "type": "string",
          "description": "Specific version number of the schema standard.",
          "pattern": "[0-9]\\.[0-9]\\.[0-9]"
        }
      }
    }
  }
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
adiwg-mdjson_schemas-2.2.0 schema/schema.json