net.carecubby.location

carecubby.net

Documentation

A Care Cubby location record.

main record

A Care Cubby location record.

Record Key tid Timestamp-based ID

Properties

address ref community.lexicon.location.address Optional

Optional street address, per community.lexicon.location.address. Not yet present in locations.json, but available for future data.

coordinates ref community.lexicon.location.geo Required

WGS84 coordinates, per community.lexicon.location.geo. The source `latitude` / `longitude` floats are serialized as strings.

description string Required

Where the cubby is inside the location, plus any notes about access, hours, or what's on the shelf. Was `description` in locations.json.

maxLength: 4000 bytesmaxGraphemes: 2000 graphemesminGraphemes: 1 graphemes
name string Required

Display name of the host location, e.g. "Center on Halsted".

maxLength: 400 bytesmaxGraphemes: 200 graphemesminGraphemes: 1 graphemes
type string Required

Supply category letter for this cubby.

maxLength: 1 bytes
Allowed: A, B, C, D, F
website string uri Required

Website of the host organization. Was `link` in locations.json.

maxLength: 2048 bytes
View raw schema
{
  "key": "tid",
  "type": "record",
  "record": {
    "type": "object",
    "required": [
      "name",
      "website",
      "locationLink",
      "description",
      "coordinates",
      "type"
    ],
    "properties": {
      "name": {
        "type": "string",
        "maxLength": 400,
        "description": "Display name of the host location, e.g. \"Center on Halsted\".",
        "maxGraphemes": 200,
        "minGraphemes": 1
      },
      "type": {
        "enum": [
          "A",
          "B",
          "C",
          "D",
          "F"
        ],
        "type": "string",
        "maxLength": 1,
        "description": "Supply category letter for this cubby."
      },
      "address": {
        "ref": "community.lexicon.location.address",
        "type": "ref",
        "description": "Optional street address, per community.lexicon.location.address.\nNot yet present in locations.json, but available for future data."
      },
      "website": {
        "type": "string",
        "format": "uri",
        "maxLength": 2048,
        "description": "Website of the host organization. Was `link` in locations.json."
      },
      "coordinates": {
        "ref": "community.lexicon.location.geo",
        "type": "ref",
        "description": "WGS84 coordinates, per community.lexicon.location.geo. The\nsource `latitude` / `longitude` floats are serialized as strings."
      },
      "description": {
        "type": "string",
        "maxLength": 4000,
        "description": "Where the cubby is inside the location, plus any notes about\naccess, hours, or what's on the shelf. Was `description` in\nlocations.json.",
        "maxGraphemes": 2000,
        "minGraphemes": 1
      },
      "locationLink": {
        "type": "string",
        "format": "uri",
        "maxLength": 2048,
        "description": "Link to the location on Google Maps. Was `location_link` in\nlocations.json."
      }
    }
  },
  "description": "A Care Cubby location record."
}

Lexicon Garden

@