6114169ceea55770…

Created Nov 14, 202614 fields1 collection using this schema

Labels

No labels yet.

Fields

NameTypeInfo
absentFromobject
archiveCopyobject
borostring
buildingstring
cuisineDescriptionstring
evidencestring
lastInspectionobject
namestring
shownByarray
snapshotRecordHashstring
snapshotVersionstring
sourcestring
streetstring
zipcodestring

JSON Schema

{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": false,
  "description": "A restaurant listed in an earlier copy of 43nn-pn8j and absent from the live table at the fetch recorded in absentFrom. The city does not say why a restaurant leaves the table; most closed or lost their permit.",
  "properties": {
    "absentFrom": {
      "additionalProperties": false,
      "properties": {
        "dataset": {
          "type": "string"
        },
        "fetched": {
          "type": "string"
        },
        "rowsUpdatedAt": {
          "type": "string"
        }
      },
      "required": [
        "dataset",
        "rowsUpdatedAt",
        "fetched"
      ],
      "type": "object"
    },
    "archiveCopy": {
      "additionalProperties": false,
      "description": "Internet Archive copy of the full table that lists this CAMIS",
      "properties": {
        "captured": {
          "type": "string"
        },
        "url": {
          "type": "string"
        }
      },
      "required": [
        "url",
        "captured"
      ],
      "type": "object"
    },
    "boro": {
      "type": "string"
    },
    "building": {
      "type": "string"
    },
    "cuisineDescription": {
      "type": "string"
    },
    "evidence": {
      "description": "How the removal was shown, in one sentence",
      "type": "string"
    },
    "lastInspection": {
      "additionalProperties": false,
      "description": "The restaurant's latest inspection in the source copy; absent when the source lists only the placeholder date 1900-01-01",
      "properties": {
        "action": {
          "type": "string"
        },
        "grade": {
          "type": "string"
        },
        "inspectionDate": {
          "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
          "type": "string"
        },
        "inspectionId": {
          "type": "string"
        },
        "inspectionType": {
          "type": "string"
        },
        "score": {
          "type": "integer"
        }
      },
      "required": [
        "inspectionDate",
        "inspectionType"
      ],
      "type": "object"
    },
    "name": {
      "type": "string"
    },
    "shownBy": {
      "description": "Every earlier copy that lists this CAMIS",
      "items": {
        "enum": [
          "underlay-snapshot",
          "internet-archive"
        ],
        "type": "string"
      },
      "minItems": 1,
      "type": "array",
      "uniqueItems": true
    },
    "snapshotRecordHash": {
      "description": "Hash of the Restaurant record in that version",
      "pattern": "^[0-9a-f]{64}$",
      "type": "string"
    },
    "snapshotVersion": {
      "description": "Version hash of nyc/restaurant-inspections v1.0.0, when the snapshot lists it",
      "pattern": "^ulv2:[0-9a-f]{64}$",
      "type": "string"
    },
    "source": {
      "description": "Copy the name, address, cuisine and last inspection come from",
      "enum": [
        "underlay-snapshot",
        "internet-archive"
      ],
      "type": "string"
    },
    "street": {
      "type": "string"
    },
    "zipcode": {
      "type": "string"
    }
  },
  "required": [
    "name",
    "boro",
    "shownBy",
    "source",
    "absentFrom",
    "evidence"
  ],
  "title": "RemovedRestaurant",
  "type": "object"
}

Used by 1 collection

Full hash:6114169ceea55770ac58a96be1d395ba31f8e60d7d7197aa86ac83a9725e27e7

ID:6114169ceea55770ac58a96be1d395ba31f8e60d7d7197aa86ac83a9725e27e7