{
    "$id": "https://dssp.diffscope.org/schemas/1.0/inference-desc.schema.json",
    "$schema": "http://json-schema.org/draft/2020-12/schema",
    "additionalProperties": false,
    "properties": {
        "$version": {
            "const": "1.0",
            "description": "Format version"
        },
        "class": {
            "description": "Inference class name",
            "type": "string"
        },
        "configuration": {
            "description": "Inference-specific configuration. The schema for this field is defined by the inference class."
        },
        "id": {
            "$ref": "core.schema.json#/$defs/genericIdentifier",
            "description": "Inference identifier. Must be unique within the package."
        },
        "level": {
            "description": "Inference API level",
            "type": "integer"
        },
        "name": {
            "$ref": "core.schema.json#/$defs/multilingualText",
            "description": "Inference name. Default to the inference identifier if not provided."
        },
        "schema": {
            "description": "Inference-specific schema. The schema for this field is defined by the inference class."
        }
    },
    "required": [
        "$version",
        "class",
        "id",
        "level"
    ]
}