{
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "$id": "https://itsnorthcarolina.com/data/schema/nc-family-day-out-costs.json",
    "title": "North Carolina Family Day-Out Cost Index (Computed)",
    "description": "Computed admission cost of a day out for 2 adults and 2 children (ages 8 and 12) at North Carolina attractions, museums, gardens, trails and state parks, from the prices each place publishes. A price the place does not publish stays Not published and no total is made. Computed dataset; inputs: nc-attractions (admission text) and nc-places (day-use admission); family = 2 adults and 2 children aged 8 and 12.",
    "type": "object",
    "properties": {
        "name": {
            "description": "Official name",
            "type": "string"
        },
        "source_dataset": {
            "description": "The dataset the row was computed from: nc-attractions or nc-places",
            "type": "string"
        },
        "category": {
            "description": "Category or park type from the source dataset",
            "type": "string"
        },
        "city": {
            "description": "City or town",
            "type": "string"
        },
        "county": {
            "description": "County",
            "type": "string"
        },
        "region": {
            "description": "Our editorial region (not an official designation)",
            "type": "string"
        },
        "adult_price": {
            "description": "Adult admission in US dollars (a number), blank when not published",
            "type": [
                "number",
                "null"
            ]
        },
        "child_age_8_price": {
            "description": "Admission for a child aged 8 in US dollars (a number), blank when not published",
            "type": [
                "number",
                "null"
            ]
        },
        "child_age_12_price": {
            "description": "Admission for a child aged 12 in US dollars (a number), blank when not published",
            "type": [
                "number",
                "null"
            ]
        },
        "family_total": {
            "description": "Computed: 2 x adult + child age 8 + child age 12, before tax and fees, in US dollars; blank unless every price is published",
            "type": [
                "number",
                "null"
            ]
        },
        "cost_status": {
            "description": "Computed, Free, Adult price only, Child price only, Partly free or Not published",
            "type": "string"
        },
        "price_basis": {
            "description": "Which published price each figure came from, as we read it",
            "type": "string"
        },
        "parking": {
            "description": "Free, Included with admission, Paid or Not published; Not in source dataset for state parks",
            "type": "string"
        },
        "official_url": {
            "description": "Official page the price was read from",
            "type": "string",
            "format": "uri"
        },
        "page_url": {
            "description": "Our page for the place",
            "type": "string",
            "format": "uri"
        },
        "checked": {
            "description": "Date (YYYY-MM-DD) the source row was read",
            "type": "string",
            "format": "date"
        }
    },
    "required": [
        "name",
        "source_dataset",
        "category",
        "city",
        "county",
        "region",
        "cost_status",
        "price_basis",
        "parking",
        "official_url",
        "page_url",
        "checked"
    ],
    "additionalProperties": false,
    "x-dataset": "https://itsnorthcarolina.com/data/nc-family-day-out-cost-index/",
    "x-row-type": "One object per row in the \"rows\" array of https://itsnorthcarolina.com/data/downloads/nc-family-day-out-costs.json",
    "x-license": "https://creativecommons.org/licenses/by/4.0/",
    "x-derived": true
}