Sha256: f023b81ab76609530ee7bf9fb9e44d48dec6e5377f99a173b500a7753824ecc9

Contents?: true

Size: 1.71 KB

Versions: 15

Compression:

Stored size: 1.71 KB

Contents

{ "type":"object",
  "title": "address",
  "description":"An address in SK must always be related to an object.",
  "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.",
      "required":true,
      "type":"string"
    },
    "address1": {
      "description": "Should contain the street or otherwise primary address information.",
      "type":"string"
    },
    "address2": {
      "description": "Additional address information, like floor number",
      "type":"string"
    },
    "pobox": {
      "description": "Post office box number",
      "type":"string"
    },
    "zip": {
      "description": "Zip number of the city. Length must be between 4..10",
      "type":"string"
    },
    "state": {
      "description": "Country state of address",
      "type":"string"
    },
    "country": {
      "description": "Country of the address.",
      "type":"string"
    },
    "created_at": {
      "description": "Date the object was created in SK. Never changes afterwards",
      "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"],
      "type":"string"
    },
    "lat": {
      "description": "Geolocation latitude",      
      "type":"string"
    },
    "long": {
      "description": "Geolocation longitude",
      "type":"string"
    }
  }
}

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
sk_api_schema-0.0.18 json/v1.0/address.json
sk_api_schema-0.0.17 json/v1.0/address.json
sk_api_schema-0.0.16 json/v1.0/address.json
sk_api_schema-0.0.15 json/v1.0/address.json
sk_api_schema-0.0.14 json/v1.0/address.json
sk_api_schema-0.0.13 json/v1.0/address.json
sk_api_schema-0.0.12 json/v1.0/address.json
sk_api_schema-0.0.11 json/v1.0/address.json
sk_api_schema-0.0.10 json/v1.0/address.json
sk_api_schema-0.0.9 json/v1.0/address.json
sk_api_schema-0.0.8 json/v1.0/address.json
sk_api_schema-0.0.7 json/v1.0/address.json
sk_api_schema-0.0.6 json/v1.0/address.json
sk_api_schema-0.0.5 json/v1.0/address.json
sk_api_schema-0.0.4 json/v1.0/address.json