Jump to content

Json schema object properties


DanielH

Recommended Posts

When creating forms should the object properties be set similar to that of the schema.org markup or is this still only done in the field manager itself?

 

Does this value even matter and it can be anything?

 

In the example below "address" and "streetAddress" are schema.org markup standard values. Just trying to understand the proper way to format these custom fields.

{
  "type": "object",
  "properties": {
    "address": {
      "title": "Address",
      "type": "object",
      "properties": {
        "streetAddress": {
          "type": "string"
        },
        "city": {
          "type": "string"
        }
      },
      "required": [
        "streetAddress",
        "city"
      ]
    }
  }
}

Thanks

Daniel

Link to comment
×
×
  • Create New...