Skip to main content

Schema

{
  "type": "object",
  "required": ["tag_id", "name"],
  "properties": {
    "tag_id": {
      "type": "string",
      "format": "uuid",
      "description": "Unique identifier for the tag"
    },
    "name": {
      "type": "string",
      "description": "Name of the tag"
    },
    "created": {
      "type": "string",
      "format": "date-time",
      "nullable": true,
      "description": "Timestamp when the record was created"
    },
    "updated": {
      "type": "string",
      "format": "date-time",
      "nullable": true,
      "description": "Timestamp when the record was last updated"
    },
    "is_deleted": {
      "type": "boolean",
      "nullable": true,
      "description": "Flag indicating if the record is marked as deleted"
    }
  }
}

Field Descriptions

Required Fields

FieldTypeFormatDescription
tag_idstringUUIDUnique identifier for the tag
namestring-Name of the tag

Optional Fields

FieldTypeFormatDescription
createdstringdate-timeTimestamp when the record was created
updatedstringdate-timeTimestamp when the record was last updated
is_deletedboolean-Flag indicating if the record is marked as deleted

Example

{
  "tag_id": "550e8400-e29b-41d4-a716-446655440000",
  "name": "Student Discount",
  "created": "2023-01-15T14:30:00Z",
  "updated": "2023-06-22T09:15:30Z",
  "is_deleted": false
}

Best Practices

  1. UUID Format: Use valid UUID v4 format for tag_id
  2. Data Consistency: Ensure consistent data across all tag records
  3. Naming: Use clear and descriptive names for tags
Need help? Contact our support team at [email protected]