{
    "$schema": "http://json-schema.org/draft-04/schema",
    "definitions": {
        "trait_additional_properties_json": {
            "$schema": "http://json-schema.org/draft-04/schema#",
            "additionalProperties": {},
            "description": "A grab-bag object for non-validatable data.",
            "title": "Has additional properties",
            "type": "object"
        }
    },
    "description": "Information about a third party that provided this content from outside this document's hosted organization.",
    "oneOf": [
        {
            "additionalProperties": false,
            "properties": {
                "additional_properties": {
                    "$ref": "#/definitions/trait_additional_properties_json"
                },
                "category": {
                    "description": "The machine-readable category of how this content was produced. Use 'staff' if this content was produced by an employee of the organization who owns this document repository. (Multisite note: content produced within a single *organization*, but shared across multiple *websites* should still be considered 'staff.') Use \u2018wires\u2019 if this content was produced for another organization and shared with the one who owns this document repository. Use 'freelance' if this content was produced by an individual on behalf of the organization who owns this document repository. Use 'stock' if this content is stock media distributed directly from a stock media provider. Use 'handout' if this is content provided from a source for an article (usually promotional media distributed directly from a company). Use 'other' for all other cases.",
                    "enum": [
                        "staff",
                        "wires",
                        "freelance",
                        "stock",
                        "handout",
                        "other"
                    ],
                    "type": "string"
                },
                "mode": {
                    "enum": [
                        "custom"
                    ],
                    "type": "string"
                },
                "name": {
                    "description": "The human-readable name of the distributor of this content. E.g., Reuters.",
                    "type": "string"
                },
                "subcategory": {
                    "description": "The machine-readable subcategory of how this content was produced. E.g., 'freelance - signed'. May vary between organizations.",
                    "type": "string"
                }
            }
        },
        {
            "additionalProperties": false,
            "properties": {
                "mode": {
                    "enum": [
                        "reference"
                    ],
                    "type": "string"
                },
                "reference_id": {
                    "description": "The ARC UUID of the distributor of this content. E.g., ABCDEFGHIJKLMNOPQRSTUVWXYZ.",
                    "type": "string"
                }
            },
            "required": [
                "reference_id",
                "mode"
            ]
        }
    ],
    "title": "Distributor",
    "type": "object"
}