exchange.recipe.profile

recipe.exchange

Documentation

main record

No description available.

Record Key literal:self Fixed literal value

Properties

about string Optional

Biography or description of the profile

maxLength: 2000 bytes
address object Optional

No description available.

businessType union Optional
createdAt string datetime Required

Timestamp when the profile was created

email string email Optional

No description available.

maxLength: 255 bytes
phone string Optional

No description available.

maxLength: 20 bytes
updatedAt string datetime Optional

Timestamp when this recipe was last updated

View raw schema
{
  "key": "literal:self",
  "type": "record",
  "record": {
    "type": "object",
    "required": [
      "createdAt",
      "profileType"
    ],
    "properties": {
      "about": {
        "type": "string",
        "maxLength": 2000,
        "description": "Biography or description of the profile"
      },
      "email": {
        "type": "string",
        "format": "email",
        "maxLength": 255
      },
      "links": {
        "type": "array",
        "items": {
          "type": "object",
          "required": [
            "title",
            "url"
          ],
          "properties": {
            "url": {
              "type": "string",
              "format": "uri",
              "maxLength": 2048
            },
            "title": {
              "type": "string",
              "maxLength": 100
            }
          }
        },
        "maxLength": 5
      },
      "phone": {
        "type": "string",
        "maxLength": 20
      },
      "address": {
        "type": "object",
        "properties": {
          "city": {
            "type": "string"
          },
          "state": {
            "type": "string"
          },
          "country": {
            "type": "string"
          },
          "street1": {
            "type": "string"
          },
          "street2": {
            "type": "string"
          },
          "latitude": {
            "type": "number"
          },
          "longitude": {
            "type": "number"
          },
          "postalCode": {
            "type": "string"
          }
        }
      },
      "createdAt": {
        "type": "string",
        "format": "datetime",
        "description": "Timestamp when the profile was created"
      },
      "updatedAt": {
        "type": "string",
        "format": "datetime",
        "description": "Timestamp when this recipe was last updated"
      },
      "profileType": {
        "refs": [
          "exchange.recipe.defs#profileTypePersonal",
          "exchange.recipe.defs#profileTypeBusiness"
        ],
        "type": "union"
      },
      "businessType": {
        "refs": [
          "exchange.recipe.defs#businessTypeRestaurant",
          "exchange.recipe.defs#businessTypeCafe",
          "exchange.recipe.defs#businessTypeFoodTruck",
          "exchange.recipe.defs#businessTypeCatering",
          "exchange.recipe.defs#businessTypePersonalChef",
          "exchange.recipe.defs#businessTypeMealService",
          "exchange.recipe.defs#businessTypeProducer",
          "exchange.recipe.defs#businessTypeRetailer",
          "exchange.recipe.defs#businessTypeMarketVendor",
          "exchange.recipe.defs#businessTypeFarm",
          "exchange.recipe.defs#businessTypeEducator",
          "exchange.recipe.defs#businessTypeNutritionist",
          "exchange.recipe.defs#businessTypeContentCreator",
          "exchange.recipe.defs#businessTypeConsultant",
          "exchange.recipe.defs#businessTypeEquipmentManufacturer",
          "exchange.recipe.defs#businessTypeSupplier",
          "exchange.recipe.defs#businessTypeInstitution",
          "exchange.recipe.defs#businessTypeNonprofit",
          "exchange.recipe.defs#businessTypeCommunityOrg",
          "exchange.recipe.defs#businessTypeHomeCook",
          "exchange.recipe.defs#businessTypeProfessional"
        ],
        "type": "union"
      }
    }
  }
}

Lexicon Garden

@