Create a schema

{
  "schema": {
    "slug": "my-object",
    "labels": {
      "singular": "My Object",
      "plural": "My Objects"
    },
    "description": "Sample Schema",
    "fields": [
      {
        "id": "my-number-field",
        "labels": {
          "singular": "Number",
          "plural": "Numbers"
        },
        "type": "number",
        "required": false,
        "scale": 0
      }
    ],
    "relationships": [
      {
        "id": "primary-contact",
        "labels": {
          "singular": "Primary Contact",
          "plural": "Primary Contacts"
        },
        "description": "Primary contact to this object",
        "namespace": "contacts",
        "hasMany": false
      }
    ]
  }
}
{
	"schema": {
		"slug": "my-object",
		"labels": {
			"singular": "My Object",
			"plural": "My Objects"
		},
		"description": "Sample Schema",
		"fields": [{
			"id": "my-number-field",
			"labels": {
				"singular": "Number",
				"plural": "Numbers"
			},
			"type": "number",
			"required": false,
			"scale": 0
		}],
		"relationships": [{
			"id": "account",
			"labels": {
				"singular": "Account",
				"plural": "Accounts"
			},
			"description": "Accounts related to this object",
			"namespace": "accounts",
			"hasMany": false
		}]

	}
}
{
	"schema": {
		"slug": "my-object",
		"labels": {
			"singular": "My Object",
			"plural": "My Objects"
		},
		"description": "Sample Schema",
		"fields": [{
			"id": "my-number-field",
			"labels": {
				"singular": "Number",
				"plural": "Numbers"
			},
			"type": "number",
			"required": false,
			"scale": 0
		}],
		"relationships": [{
			"id": "deal",
			"labels": {
				"singular": "Deal",
				"plural": "Deals"
			},
			"description": "Deals related to this object",
			"namespace": "deals",
			"hasMany": false
		}]

	}
}
{
    "schema": {
        "id": "2123028c-64e6-40e2-97bc-9d63a2ca920b",
        "slug": "my-object",
        "visibility": "private",
        "labels": {
            "singular": "My Object",
            "plural": "My Objects"
        },
        "description": "Sample Schema",
        "createdTimestamp": "2021-03-19T18:23:17.153996399Z",
        "updatedTimestamp": "2021-03-19T18:23:17.153996399Z",
        "fields": [{
            "id": "my-number-field",
            "labels": {
                "singular": "Number",
                "plural": "Numbers"
            },
            "type": "number",
            "required": false,
            "scale": 0
        }],
        "icons": {
            "default": "https://d226aj4ao1t61q.cloudfront.net/n9mayqo2d_customobject.png"
        },
        "relationships": [{
            "id": "primary-contact",
            "labels": {
                "singular": "Primary Contact",
                "plural": "Primary Contacts"
            },
            "description": "Primary contact to this object",
            "namespace": "contacts",
            "hasMany": false
        }]
    }
}
Language
Credentials
Header
URL