Skip to content

organization

Generated reference page for spec/v1/schemas/resources/organization.json.

Metadata

  • Type: JSON Schema
  • Source: spec/v1/schemas/resources/organization.json
  • Raw: View Raw

Summary

Source

json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://agent-service.spec/v1/schemas/resources/organization.json",
  "type": "object",
  "additionalProperties": false,
  "required": ["orgId", "name", "status", "createdAt", "updatedAt"],
  "properties": {
    "orgId": {
      "$ref": "../common/identity.json#/$defs/orgId"
    },
    "name": {
      "type": "string",
      "minLength": 1
    },
    "description": {
      "type": "string"
    },
    "url": {
      "type": "string",
      "format": "uri"
    },
    "status": {
      "$ref": "../common/enums.json#/$defs/organizationStatus"
    },
    "metadata": {
      "type": "object",
      "additionalProperties": true
    },
    "createdAt": {
      "$ref": "../common/identity.json#/$defs/timestamp"
    },
    "updatedAt": {
      "$ref": "../common/identity.json#/$defs/timestamp"
    },
    "version": {
      "$ref": "../common/identity.json#/$defs/version"
    }
  }
}

Generated from spec source.