{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "id": "https://project-open-data.cio.gov/schema/1_0_final/single_entry.json#",
    "title": "Common Core Metadata Schema",
    "description": "The metadata format for all federal open data. Validates a single JSON object entry (as opposed to entire Data.json catalog).",
    "type": "object",
    "required": [
        "productNumber",
        "agencyName"
    ],
    "properties": {
        "agencyCode": {
            "title": "Agency Code",
            "description": "Agency Code",
            "type": "string",
            "office_detail": false
        },
        "productNumber": {
            "title": "Product Number",
            "description": "",
            "type": "string",
            "office_detail": true
        },
        "agencyName": {
            "title": "Recommendation Target Agency/Organization",
            "description": "Agency Name",
            "type": "string",
            "office_detail": false
        },
        "engagementCode": {
            "title": "Engagement Code",
            "description": "Engagement Code",
            "type": "string",
            "office_detail": false
        },
        "recommendationText": {
            "title": "Recommendation Text",
            "description": "Recommendation Text",
            "type": "string",
            "office_detail": true
        },
        "statusComments": {
            "title": "Status Comments",
            "description": "Status Comments",
            "type": "string",
            "office_detail": false
        },
        "status": {
            "title": "Status",
            "description": "Status",
            "type": "string",
            "enum": [
                "Open",
                "Closed"
            ],
            "office_detail": true
        }
    }
}