changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "$defs": {
+ "Organization": {
+ "properties": {
+ "created_at": {
+ "$ref": "#/$defs/Timestamp",
+ "description": "When the organization was created."
+ },
+ "id": {
+ "$ref": "#/$defs/OrganizationID",
+ "description": "Identifies the organization."
+ },
+ "name": {
+ "$ref": "#/$defs/ResourceName",
+ "description": "Display name of the organization."
+ },
+ "updated_at": {
+ "$ref": "#/$defs/Timestamp",
+ "description": "When the organization record was last changed."
+ }
+ },
+ "required": [
+ "id",
+ "name",
+ "created_at",
+ "updated_at"
+ ],
+ "type": "object"
+ },
+ "OrganizationID": {
+ "pattern": "^org_[a-z2-7]{26}$",
+ "type": "string"
+ },
+ "OrganizationMembership": {
+ "properties": {
+ "created_at": {
+ "$ref": "#/$defs/Timestamp",
+ "description": "When the user joined the organization; role changes do not update it."
+ },
+ "org_id": {
+ "$ref": "#/$defs/OrganizationID",
+ "description": "Organization the user belongs to."
+ },
+ "role": {
+ "description": "The user's organization role, which sets what they can do in the org.",
+ "type": "string"
+ },
+ "user_id": {
+ "$ref": "#/$defs/UserID",
+ "description": "User who holds this membership."
+ }
+ },
+ "required": [
+ "org_id",
+ "user_id",
+ "role",
+ "created_at"
+ ],
+ "type": "object"
+ },
+ "Project": {
+ "allOf": [
+ {
+ "$ref": "#/$defs/ProjectFields"
+ }
+ ]
+ },
+ "ProjectFields": {
+ "description": "Shared project fields composed into project response schemas. Composing schemas close their final shape with unevaluatedProperties.",
+ "properties": {
+ "created_at": {
+ "$ref": "#/$defs/Timestamp",
+ "description": "When the project was created."
+ },
+ "id": {
+ "$ref": "#/$defs/ProjectID",
+ "description": "Identifies the project."
+ },
+ "name": {
+ "$ref": "#/$defs/ResourceName",
+ "description": "Display name of the project."
+ },
+ "org_id": {
+ "$ref": "#/$defs/OrganizationID",
+ "description": "Organization that owns the project."
+ },
+ "updated_at": {
+ "$ref": "#/$defs/Timestamp",
+ "description": "When the project last changed."
+ }
+ },
+ "required": [
+ "id",
+ "org_id",
+ "name",
+ "created_at",
+ "updated_at"
+ ],
+ "type": "object"
+ },
+ "ProjectID": {
+ "description": "Project ID (proj_...).",
+ "pattern": "^proj_[a-z2-7]{26}$",
+ "type": "string"
+ },
+ "ResourceName": {
+ "description": "Human-readable name. Spaces and punctuation are allowed; leading or trailing whitespace and invisible or control characters are not.",
+ "maxLength": 64,
+ "minLength": 1,
+ "type": "string"
+ },
+ "Timestamp": {
+ "format": "date-time",
+ "type": "string"
+ },
+ "UserID": {
+ "pattern": "^usr_[a-z2-7]{26}$",
+ "type": "string"
+ }
+ },
+ "properties": {
+ "membership": {
+ "$ref": "#/$defs/OrganizationMembership",
+ "description": "The caller's owner membership in the new organization."
+ },
+ "org": {
+ "$ref": "#/$defs/Organization",
+ "description": "The newly created organization."
+ },
+ "project": {
+ "$ref": "#/$defs/Project",
+ "description": "Default project created along with the organization."
+ }
+ },
+ "required": [
+ "org",
+ "project",
+ "membership"
+ ],
+ "type": "object"
+}