{
    "$defs": {
        "Begrepssamling": {
            "additionalProperties": false,
            "description": "Ei SKOS-omgrepssamling (temavokabular).",
            "properties": {
                "id": {
                    "description": "URI-identifikator for ressursen.",
                    "type": "string"
                }
            },
            "required": [
                "id"
            ],
            "title": "Begrepssamling",
            "type": "object"
        },
        "Kategori": {
            "additionalProperties": false,
            "description": "Ein kategori i ein klassifikasjon (skos:Concept).",
            "properties": {
                "anbefalt_term": {
                    "description": "F\u00f8retrukke term/namn for ressursen (skos:prefLabel).",
                    "items": {
                        "type": "string"
                    },
                    "type": "array"
                },
                "er_eksklusivt_ekvivalent_med": {
                    "description": "Eksklusiv breid ekvivalens (xkos:exclusivelyBroadMatch).",
                    "items": {
                        "type": "string"
                    },
                    "type": [
                        "array",
                        "null"
                    ]
                },
                "er_ekvivalent_med": {
                    "description": "Breid ekvivalens til kategori i annan klassifikasjon (uneskos:broadMatch).",
                    "items": {
                        "type": "string"
                    },
                    "type": [
                        "array",
                        "null"
                    ]
                },
                "er_i_klassifikasjon": {
                    "description": "Klassifikasjonen kategorien tilh\u00f8yrer (skos:inScheme).",
                    "type": "string"
                },
                "er_ikkje_ekvivalent_med": {
                    "description": "Klar ikkje-ekvivalens til kategori i annan klassifikasjon (xkos:disjointMatch).",
                    "items": {
                        "type": "string"
                    },
                    "type": [
                        "array",
                        "null"
                    ]
                },
                "har_notat": {
                    "description": "Fritekstnotat om kategorien (skos:note).",
                    "items": {
                        "type": "string"
                    },
                    "type": [
                        "array",
                        "null"
                    ]
                },
                "id": {
                    "description": "URI-identifikator for ressursen.",
                    "type": "string"
                },
                "overordna_kategori": {
                    "description": "Overordna kategori (skos:broader).",
                    "items": {
                        "type": "string"
                    },
                    "type": [
                        "array",
                        "null"
                    ]
                },
                "tilhorande_klassifikasjonsnivaa": {
                    "description": "Klassifikasjonsniv\u00e5 kategorien h\u00f8yrer til (xkos:belongsTo).",
                    "type": [
                        "string",
                        "null"
                    ]
                },
                "underordna_kategori": {
                    "description": "Underordna kategori (skos:narrower).",
                    "items": {
                        "type": "string"
                    },
                    "type": [
                        "array",
                        "null"
                    ]
                }
            },
            "required": [
                "id",
                "anbefalt_term",
                "er_i_klassifikasjon"
            ],
            "title": "Kategori",
            "type": "object"
        },
        "Kategorisamanlikning": {
            "additionalProperties": false,
            "description": "Ein samanlikning mellom to kategoriar p\u00e5 tvers av klassifikasjonar (xkos:ConceptAssociation).",
            "properties": {
                "id": {
                    "description": "URI-identifikator for ressursen.",
                    "type": "string"
                },
                "kjeldeomgrep": {
                    "description": "Kjeldeomgrep i ein kategorisamanlikning (xkos:sourceConcept).",
                    "type": [
                        "string",
                        "null"
                    ]
                },
                "maalomgrep": {
                    "description": "M\u00e5leomgrep i ein kategorisamanlikning (xkos:targetConcept).",
                    "type": [
                        "string",
                        "null"
                    ]
                }
            },
            "required": [
                "id"
            ],
            "title": "Kategorisamanlikning",
            "type": "object"
        },
        "Klassifikasjon": {
            "additionalProperties": false,
            "description": "Ei klassifikasjon \u2013 ein systematisk struktur av kategoriar brukt til \u00e5 klassifisere data (skos:ConceptScheme).",
            "properties": {
                "antall_nivaa": {
                    "description": "Antal niv\u00e5 i klassifikasjonen (xkos:numberOfLevels).",
                    "minimum": 0,
                    "type": [
                        "integer",
                        "null"
                    ]
                },
                "beskrivelse": {
                    "description": "Fritekstbeskrivelse av ressursen (dct:description).",
                    "items": {
                        "type": "string"
                    },
                    "type": [
                        "array",
                        "null"
                    ]
                },
                "endringsdato": {
                    "description": "Dato for siste endring av ressursen (dct:modified).",
                    "format": "date",
                    "type": [
                        "string",
                        "null"
                    ]
                },
                "er_samanlikna_med": {
                    "description": "Klassifikasjonar som er samanlikna (xkos:compares).",
                    "items": {
                        "type": "string"
                    },
                    "type": [
                        "array",
                        "null"
                    ]
                },
                "forste_nivaa": {
                    "description": "Toppniv\u00e5 i klassifikasjonen (xkos:levels).",
                    "items": {
                        "type": "string"
                    },
                    "type": [
                        "array",
                        "null"
                    ]
                },
                "gjeld_for_tidsrom": {
                    "description": "Tidsrom klassifikasjonen er gyldig for (dct:temporal).",
                    "type": [
                        "string",
                        "null"
                    ]
                },
                "heimeside": {
                    "description": "Heimeside for ressursen eller organisasjonen (foaf:homepage).",
                    "items": {
                        "format": "uri",
                        "type": "string"
                    },
                    "type": [
                        "array",
                        "null"
                    ]
                },
                "id": {
                    "description": "URI-identifikator for ressursen.",
                    "type": "string"
                },
                "identifikator_literal": {
                    "description": "Tekstleg identifikator for ressursen (dct:identifier).",
                    "type": "string"
                },
                "nokkelord": {
                    "description": "N\u00f8kkelord som beskriv ressursen (dcat:keyword).",
                    "items": {
                        "type": "string"
                    },
                    "type": [
                        "array",
                        "null"
                    ]
                },
                "spraak": {
                    "description": "Spr\u00e5k brukt i ressursen (dct:language).",
                    "items": {
                        "type": "string"
                    },
                    "type": [
                        "array",
                        "null"
                    ]
                },
                "tema": {
                    "description": "Fagleg tema klassifikasjonen dekkjer (dct:subject).",
                    "items": {
                        "type": "string"
                    },
                    "type": [
                        "array",
                        "null"
                    ]
                },
                "tittel": {
                    "description": "Namn/tittel p\u00e5 ressursen (dct:title).",
                    "items": {
                        "type": "string"
                    },
                    "type": "array"
                },
                "utgivelsesdato": {
                    "description": "Dato ressursen vart f\u00f8rste gong publisert (dct:issued).",
                    "format": "date",
                    "type": [
                        "string",
                        "null"
                    ]
                },
                "utgjevar": {
                    "description": "Organisasjon som er ansvarleg utgjevar (dct:publisher).",
                    "type": "string"
                },
                "versjonsnummer": {
                    "description": "Versjonsnummer for ressursen (owl:versionInfo).",
                    "type": [
                        "string",
                        "null"
                    ]
                }
            },
            "required": [
                "id",
                "identifikator_literal",
                "tittel",
                "utgjevar"
            ],
            "title": "Klassifikasjon",
            "type": "object"
        },
        "Klassifikasjonsnivaa": {
            "additionalProperties": false,
            "description": "Eit niv\u00e5 i ein klassifikasjon (xkos:ClassificationLevel).",
            "properties": {
                "har_medlem": {
                    "description": "Kategoriar som h\u00f8yrer til dette niv\u00e5et (skos:member).",
                    "items": {
                        "type": "string"
                    },
                    "type": "array"
                },
                "id": {
                    "description": "URI-identifikator for ressursen.",
                    "type": "string"
                },
                "nivaa_djupn": {
                    "description": "Djupna (niv\u00e5nummer) i klassifikasjonsstrukturen (xkos:depth).",
                    "minimum": 0,
                    "type": "integer"
                },
                "tittel": {
                    "description": "Namn/tittel p\u00e5 ressursen (dct:title).",
                    "items": {
                        "type": "string"
                    },
                    "type": [
                        "array",
                        "null"
                    ]
                },
                "underordna_klassifikasjonsnivaa": {
                    "description": "Underordna klassifikasjonsniv\u00e5 (xkos:nextLevel).",
                    "items": {
                        "type": "string"
                    },
                    "type": [
                        "array",
                        "null"
                    ]
                }
            },
            "required": [
                "id",
                "nivaa_djupn",
                "har_medlem"
            ],
            "title": "Klassifikasjonsnivaa",
            "type": "object"
        },
        "Klassifikasjonssamanlikning": {
            "additionalProperties": false,
            "description": "Ein samanlikning mellom to klassifikasjonar (xkos:Correspondence).",
            "properties": {
                "bestar_av": {
                    "description": "Kategorisamanlikningar som inng\u00e5r i klassifikasjonssamanlikninga (xkos:madeOf).",
                    "items": {
                        "type": "string"
                    },
                    "type": "array"
                },
                "id": {
                    "description": "URI-identifikator for ressursen.",
                    "type": "string"
                },
                "identifikator_literal": {
                    "description": "Tekstleg identifikator for ressursen (dct:identifier).",
                    "type": "string"
                },
                "samanliknar": {
                    "description": "Klassifikasjonar som er samanlikna i korrespondansen (xkos:compares).",
                    "items": {
                        "type": "string"
                    },
                    "type": "array"
                },
                "tittel": {
                    "description": "Namn/tittel p\u00e5 ressursen (dct:title).",
                    "items": {
                        "type": "string"
                    },
                    "type": "array"
                },
                "utgjevar": {
                    "description": "Organisasjon som er ansvarleg utgjevar (dct:publisher).",
                    "type": "string"
                }
            },
            "required": [
                "id",
                "identifikator_literal",
                "tittel",
                "utgjevar",
                "samanliknar",
                "bestar_av"
            ],
            "title": "Klassifikasjonssamanlikning",
            "type": "object"
        },
        "Konsept": {
            "additionalProperties": false,
            "description": "Referanse til eit SKOS-omgrep fr\u00e5 eit kontrollert vokabular.",
            "properties": {
                "id": {
                    "description": "URI-identifikator for ressursen.",
                    "type": "string"
                }
            },
            "required": [
                "id"
            ],
            "title": "Konsept",
            "type": "object"
        },
        "Mediatype": {
            "additionalProperties": false,
            "description": "Ein medietype eller filformat (dct:MediaTypeOrExtent).",
            "properties": {
                "id": {
                    "description": "URI-identifikator for ressursen.",
                    "type": "string"
                }
            },
            "required": [
                "id"
            ],
            "title": "Mediatype",
            "type": "object"
        },
        "Organisasjon": {
            "additionalProperties": false,
            "description": "Ein organisasjon eller akt\u00f8r (foaf:Agent).",
            "properties": {
                "id": {
                    "description": "URI-identifikator for ressursen.",
                    "type": "string"
                }
            },
            "required": [
                "id"
            ],
            "title": "Organisasjon",
            "type": "object"
        },
        "Tidsrom": {
            "additionalProperties": false,
            "description": "Eit tidsrom med start- og/eller sluttdato (dct:PeriodOfTime).",
            "properties": {
                "id": {
                    "description": "URI-identifikator for ressursen.",
                    "type": "string"
                },
                "tidsrom_slutt": {
                    "description": "Sluttdato for tidsromet (dct:endDate).",
                    "format": "date",
                    "type": [
                        "string",
                        "null"
                    ]
                },
                "tidsrom_start": {
                    "description": "Startdato for tidsromet (dct:startDate).",
                    "format": "date",
                    "type": [
                        "string",
                        "null"
                    ]
                }
            },
            "required": [
                "id"
            ],
            "title": "Tidsrom",
            "type": "object"
        }
    },
    "$id": "https://data.norge.no/ap-no/xkos-ap-no",
    "$schema": "https://json-schema.org/draft/2019-09/schema",
    "additionalProperties": true,
    "metamodel_version": "1.11.0",
    "title": "xkos-ap-no",
    "type": "object",
    "version": null
}

