# Host-schema.json

{
    "$schema": "http://json-schema.org/draft-07/schema#",
    "$id": "../Documentation/Implementation/data_model/Json/",
    "title": "Host",
    "description": "Host schema",
    "dataTypes": null,
    "topics": null,
    "type": "object",
    "properties": {
        "title": {
            "type": "string",
            "description": "Host title"
        },
        "hostId": {
            "type": "string",
            "description": "Persistent identifier or URL"
        },
        "idType": {
            "type": "string",
            "description": "Identification system"
        },
        "policyUrl": {
            "type": "string",
            "description": "Host data policy"
        },
        "geoLocation": {
            "type": "string",
            "description": "Host country code"
        },
        "certification": {
            "type": "array",
            "items": {
                "type": "string"
            },
            "description": "Certifications held by the host (CoreTrustSEal, DSA, WDS, ISO-9001, …)"
        },
        "pidSystem": {
            "type": "array",
            "items": {
                "type": "string"
            },
            "description": "System of persistent identifiers implemented by the host"
        },
        "hasVersioningPolicy": {
            "type": "string",
            "description": "Versioning policy"
        },
        "availability": {
            "type": "number",
            "description": "Host availability/sustainability in years (until what year?)"
        },
        "metadataStandard": {
            "type": "array",
            "items": {
                "type": "string"
            },
            "description": "Export formats compliant with metadata standards provided by the host."
        }
    },
    "required": [
        "title",
        "hostId",
        "idType",
        "geoLocation"
    ]
}