{
    "$schema": "http://json-schema.org/draft-07/schema",
    "$id": "https://specifications.openehr.org/releases/ITS-JSON/latest/components/RM/Release-1.1.0/Ehr_extract/SYNC_EXTRACT_SPEC.json",
    "definitions": {
        "SYNC_EXTRACT_SPEC": {
            "type": "object",
            "required": [
                "includes_versions"
            ],
            "properties": {
                "includes_versions": {
                    "type": "boolean"
                },
                "contribution_list": {
                    "type": "array",
                    "items": {
                        "$ref": "https://specifications.openehr.org/releases/ITS-JSON/latest/components/BASE/Release-1.1.0/Base_types/HIER_OBJECT_ID.json#/definitions/HIER_OBJECT_ID"
                    }
                },
                "contributions_since": {
                    "$ref": "https://specifications.openehr.org/releases/ITS-JSON/latest/components/RM/Release-1.1.0/Data_types/DV_DATE_TIME.json#/definitions/DV_DATE_TIME"
                },
                "all_contributions": {
                    "type": "boolean"
                },
                "_type": {
                    "type": "string",
                    "const": "SYNC_EXTRACT_SPEC"
                }
            },
            "additionalProperties": false
        }
    }
}