Sha256: c60a3903109898240d409b3e111be1ce12ab2f055a8336b815926c4270ca83eb

Contents?: true

Size: 1.38 KB

Versions: 28

Compression:

Stored size: 1.38 KB

Contents

{ "type":"object",
  "title": "address",
  "name": "address",
  "description":"An address .. Example partially taken from SalesKing",
  "properties":{
    "id":{
      "description":"Unique identifier - UUID",
      "identity":true,
      "readonly":true,
      "type":"string",
      "maxLength": 22,
      "minLength":22
    },
    "city":{
      "description": "City for the address. Must at least be present for an address.",
      "required":true,
      "type":"string",
      "maxLength": 100
    },
    "address1":{
      "description": "Should contain the street or otherwise primary address information.",
      "type":"string",
      "maxLength": 100
    },
    "zip":{
      "description": "Zip number of the city. Length must be between 4..10",
      "type":"string",
      "maxLength": 10
    },
    "country":{
      "description": "Country of the address.",
      "type":"string",
      "maxLength": 100
    },
    "address_type":{
      "description": "Type of the address, as seen by vCard definition. There can only be one type. Inside of SK you can use placeholders like client.parcel_address.city to access the first parcel adr(Same for work_ / home_). <br/>Besides the placeholder default_address, always returns the first address found. Sorting is done by the order(if set) else by date, newest first.",
      "enum":["work","home", "parcel"],
      "type":"string"
    }
  },
  "links":[]
}

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
json_schema_tools-0.5.3 spec/fixtures/schemata/address.json
json_schema_tools-0.5.2 spec/fixtures/schemata/address.json
json_schema_tools-0.5.1 spec/fixtures/schemata/address.json
json_schema_tools-0.5.0 spec/fixtures/schemata/address.json
json_schema_tools-0.4.3 spec/fixtures/schemata/address.json
json_schema_tools-0.4.2 spec/fixtures/schemata/address.json
json_schema_tools-0.4.1 spec/fixtures/schemata/address.json
json_schema_tools-0.4.0 spec/fixtures/address.json
json_schema_tools-0.3.3 spec/fixtures/address.json
json_schema_tools-0.3.2 spec/fixtures/address.json
json_schema_tools-0.3.1 spec/fixtures/address.json
json_schema_tools-0.3.0 spec/fixtures/address.json
json_schema_tools-0.2.6 spec/fixtures/address.json
json_schema_tools-0.2.5 spec/fixtures/address.json
json_schema_tools-0.2.4 spec/fixtures/address.json
json_schema_tools-0.2.3 spec/fixtures/address.json
json_schema_tools-0.2.2 spec/fixtures/address.json
json_schema_tools-0.2.1 spec/fixtures/address.json
json_schema_tools-0.2.0 spec/fixtures/address.json
json_schema_tools-0.1.2 spec/fixtures/address.json