{
    "$schema": "https://json-schema.org/draft/2020-12/schema#",
    "$vocabulary": {
        "https://json-schema.org/draft/2020-12/vocab/core": true,
        "https://json-schema.org/draft/2020-12/vocab/applicator": true,
        "https://json-schema.org/draft/2020-12/vocab/unevaluated": true,
        "https://json-schema.org/draft/2020-12/vocab/validation": true,
        "https://json-schema.org/draft/2020-12/vocab/meta-data": true,
        "https://json-schema.org/draft/2020-12/vocab/format-annotation": true,
        "https://json-schema.org/draft/2020-12/vocab/content": true
    },
    "id": "https://www.medbiq.org/standards/competency-object",
    "title": "Competency Object",
    "description": "Schema for MedBiq Competency Object. Copyright 2024 MedBiquitous Consortium. All Rights Reserved. http://www.medbiq.org Users are bound by the terms of the MedBiquitous Consortium JSON Public License and Terms of Use",
    "schemaValidationNotes": [
        {
            "description": "common.schema.json implementation",
            "validated": true
        },
        {
            "description": "properties prefix '_'",
            "validated": true
        },
        {
            "description": "no missing attributes",
            "validated": true
        },
        {
            "description": "validate union types",
            "validated": true
        },
        {
            "description": "Schema validation using XML samples",
            "validated": false
        }
    ],
    "type": "object",
    "$defs": {
        "NonNullString": {
            "$ref": "http://medbiq.pixelbytellc.com/common.schema.json#/$defs/NonNullStringType"
        },
        "StatusType": {
            "type": "string",
            "enum": ["Active", "Retired"]
        },
        "ReferencesType": {
            "type": "array",
            "items": {
                "$ref": "#/$defs/NonNullString"
            }
        },
        "SupportingInformationType": {
            "type": "object",
            "oneOf": [
                {
                    "type": "string",
                    "format": "uri"
                },
                {
                    "$ref": "https://medbiq.pixelbytellc.com/xhtml.schema.json#/properties/div",
                    "$id": "http://www.w3.org/1999/xhtml"
                }
            ]
        },
        "CategoryType": {
            "type": "object",
            "properties": {
                "_terms": {
                    "type": "string"
                },
                "_scheme": {
                    "type": "string",
                    "format": "uri"
                },
                "_label": {
                    "type": "string"
                }
            },
            "required": ["_terms"]
        },
        "CompetencyObjectType": {
            "type": "object",
            "properties": {
                "_lom": {
                    "$id": "https://ieee-sa.imeetcentral.com/ltsc/"
                },
                "_Status": {
                    "type": "array",
                    "items": {
                        "$ref": "#/$defs/StatusType",
                        "default": "Active"
                    }
                },
                "_Replaces": {
                    "type": "array",
                    "items": {
                        "type": "string",
                        "format": "uri"
                    }
                },
                "_IsReplacedBy": {
                    "type": "array",
                    "items": {
                        "type": "string",
                        "format": "uri"
                    }
                },
                "_Category": {
                    "type": "array",
                    "items": {
                        "$ref": "#/$defs/CategoryType"
                    }
                },
                "_References": {
                    "$ref": "#/$defs/ReferencesType"
                },
                "_SupportingInformation": {
                    "type": "array",
                    "items": {
                        "$ref": "#/$defs/SupportingInformationType"
                    }
                },
                "_other": {
                    "type": "array",
                    "items": {
                        "type": "object"
                    }
                }
            },
            "required": ["lom"]
        }
    },
    "properties": {
        "CompetencyObject": {
            "$ref": "#/$defs/CompetencyObjectType"
        }
    },
    "required": ["CompetencyObject"]
}
