Sha256: 70dcf549b906e813ae10a4801e53ece0d792ae78c3fc742e676ee9a809a40714

Contents?: true

Size: 1.84 KB

Versions: 2

Compression:

Stored size: 1.84 KB

Contents

{"type":"object",
  "title": "address",
  "description":"An address",
  "properties": {
    "id": {
      "description": "uuid of the adress.",
      "identity":true,
      "readonly":true,
      "type":"string"
    },
    "city": {
      "description": "City for the address. Must at least be present for an address.",
      "type":"string"
    },
    "address1": {
      "description": "Should contain the street or otherwise primary address information.",
      "optional":true,
      "type":"string"
    },
    "address2": {
      "description": "Additional address information, like floor number",
      "optional":true,
      "type":"string"
    },
    "pobox": {
      "description": "Post office box number",
      "optional":true,
      "type":"string"
    },
    "zip": {
      "description": "Zip number of the city. Length must be between 4..10",
      "optional":true,
      "type":"string"
    },
    "state": {
      "description": "Country state of address",
      "optional":true,
      "type":"string"
    },
    "country": {
      "description": "Country of the address.",
      "optional":true,
      "type":"string"
    },
    "created_at": {
      "description": "Date the object was created in SK. Never changes aftwerwards",
      "format":"date-time",
      "readonly":true, "type":"string"
    },
    "updated_at": {
      "description": "Date the object was edited in SK.",
      "format":"date-time",
      "readonly":true,
      "type":"string"
    },   
    "address_type": {
      "description": "Type of the address, as seen by vCard definition.",
      "enum":["work","home"],
      "optional":true,
      "type":"string"
    },
    "lat": {
      "description": "Geolocation latitude",
      "optional":true,
      "type":"string"
    },
    "long": {
      "description": "Geolocation longitude",
      "optional":true,
      "type":"string"
    }
  }
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sk_api_schema-0.0.3 json/v1.0/address.json
sk_api_schema-0.0.2 json/v1.0/address.json