nyc.noirot.cad.defs

franknoirot.co

Documentation

analysisFinding object

A derived analysis finding that is not itself a moderation label.

Properties

kind string Required

No description available.

maxLength: 64 bytes
Known values: geometry, archive, metadata, render, security
name string Required

No description available.

maxLength: 1024 bytesmaxGraphemes: 128 graphemes
severity string Optional

No description available.

maxLength: 64 bytes
Known values: info, warning, error
summary string Optional

No description available.

maxLength: 4096 bytesmaxGraphemes: 512 graphemes
View raw schema
{
  "type": "object",
  "required": [
    "kind",
    "name"
  ],
  "properties": {
    "kind": {
      "type": "string",
      "maxLength": 64,
      "knownValues": [
        "geometry",
        "archive",
        "metadata",
        "render",
        "security"
      ]
    },
    "name": {
      "type": "string",
      "maxLength": 1024,
      "maxGraphemes": 128
    },
    "summary": {
      "type": "string",
      "maxLength": 4096,
      "maxGraphemes": 512
    },
    "severity": {
      "type": "string",
      "maxLength": 64,
      "knownValues": [
        "info",
        "warning",
        "error"
      ]
    }
  },
  "description": "A derived analysis finding that is not itself a moderation label."
}
boundingBox object

Axis-aligned bounding box dimensions for a CAD model.

Properties

xLength ref #quantity Optional

No description available.

yLength ref #quantity Optional

No description available.

zLength ref #quantity Optional

No description available.

View raw schema
{
  "type": "object",
  "properties": {
    "xLength": {
      "ref": "#quantity",
      "type": "ref"
    },
    "yLength": {
      "ref": "#quantity",
      "type": "ref"
    },
    "zLength": {
      "ref": "#quantity",
      "type": "ref"
    }
  },
  "description": "Axis-aligned bounding box dimensions for a CAD model."
}
fileManifest object

Manifest of files associated with a project or release.

Properties

archiveCid string cid Optional

CID of the complete project archive, if available.

files array of ref#sourceFile Required

No description available.

maxLength: 512 items
generatedAt string datetime Optional

An RFC 3339 formatted timestamp.

rootSha256 string Optional

Lowercase hex SHA-256 digest representing the normalized manifest.

maxLength: 64 bytesminLength: 64 bytes
View raw schema
{
  "type": "object",
  "required": [
    "files"
  ],
  "properties": {
    "files": {
      "type": "array",
      "items": {
        "ref": "#sourceFile",
        "type": "ref"
      },
      "maxLength": 512
    },
    "archiveCid": {
      "type": "string",
      "format": "cid",
      "description": "CID of the complete project archive, if available."
    },
    "rootSha256": {
      "type": "string",
      "maxLength": 64,
      "minLength": 64,
      "description": "Lowercase hex SHA-256 digest representing the normalized manifest."
    },
    "generatedAt": {
      "type": "string",
      "format": "datetime"
    }
  },
  "description": "Manifest of files associated with a project or release."
}
geometryMetrics object

Derived geometry and physical metrics for a CAD model.

Properties

boundingBox ref #boundingBox Optional

No description available.

centerOfMass ref #point3d Optional

No description available.

density ref #quantity Optional

No description available.

mass ref #quantity Optional

No description available.

surfaceArea ref #quantity Optional

No description available.

volume ref #quantity Optional

No description available.

View raw schema
{
  "type": "object",
  "properties": {
    "mass": {
      "ref": "#quantity",
      "type": "ref"
    },
    "volume": {
      "ref": "#quantity",
      "type": "ref"
    },
    "density": {
      "ref": "#quantity",
      "type": "ref"
    },
    "boundingBox": {
      "ref": "#boundingBox",
      "type": "ref"
    },
    "surfaceArea": {
      "ref": "#quantity",
      "type": "ref"
    },
    "centerOfMass": {
      "ref": "#point3d",
      "type": "ref"
    }
  },
  "description": "Derived geometry and physical metrics for a CAD model."
}
license object

License metadata for project files.

Properties

name string Optional

No description available.

maxLength: 1024 bytesmaxGraphemes: 128 graphemes
spdxId string Optional

SPDX license identifier, when applicable.

maxLength: 128 bytes
url string uri Optional

A valid URI.

View raw schema
{
  "type": "object",
  "properties": {
    "url": {
      "type": "string",
      "format": "uri"
    },
    "name": {
      "type": "string",
      "maxLength": 1024,
      "maxGraphemes": 128
    },
    "spdxId": {
      "type": "string",
      "maxLength": 128,
      "description": "SPDX license identifier, when applicable."
    }
  },
  "description": "License metadata for project files."
}
moderationContext object

Author-supplied moderation hints. Labeler decisions should still be published as labels.

Properties

selfLabels array of string Optional

No description available.

maxLength: 16 items
View raw schema
{
  "type": "object",
  "properties": {
    "selfLabels": {
      "type": "array",
      "items": {
        "type": "string",
        "maxLength": 128,
        "knownValues": [
          "weapon",
          "regulated-part",
          "unsafe-manufacture",
          "ip-risk",
          "malware-archive",
          "spam",
          "needs-review"
        ]
      },
      "maxLength": 16
    }
  },
  "description": "Author-supplied moderation hints. Labeler decisions should still be published as labels."
}
point3d object

A point in three-dimensional model space.

Properties

x ref #quantity Optional

No description available.

y ref #quantity Optional

No description available.

z ref #quantity Optional

No description available.

View raw schema
{
  "type": "object",
  "properties": {
    "x": {
      "ref": "#quantity",
      "type": "ref"
    },
    "y": {
      "ref": "#quantity",
      "type": "ref"
    },
    "z": {
      "ref": "#quantity",
      "type": "ref"
    }
  },
  "description": "A point in three-dimensional model space."
}
projectRef object

A versioned reference to a CAD project or release record.

Properties

cid string cid Required

CID of the referenced project or release record version.

uri string at-uri Required

AT URI of the referenced project or release record.

View raw schema
{
  "type": "object",
  "required": [
    "uri",
    "cid"
  ],
  "properties": {
    "cid": {
      "type": "string",
      "format": "cid",
      "description": "CID of the referenced project or release record version."
    },
    "uri": {
      "type": "string",
      "format": "at-uri",
      "description": "AT URI of the referenced project or release record."
    }
  },
  "description": "A versioned reference to a CAD project or release record."
}
quantity object

Decimal quantity encoded as a string because atproto records do not use floating point numbers.

Properties

unit string Required

No description available.

maxLength: 32 bytes
Known values: g, kg, mm, cm, m, mm2, cm2, m2, mm3, cm3, m3
value string Required

Decimal value without the unit.

maxLength: 64 bytes
View raw schema
{
  "type": "object",
  "required": [
    "value",
    "unit"
  ],
  "properties": {
    "unit": {
      "type": "string",
      "maxLength": 32,
      "knownValues": [
        "g",
        "kg",
        "mm",
        "cm",
        "m",
        "mm2",
        "cm2",
        "m2",
        "mm3",
        "cm3",
        "m3"
      ]
    },
    "value": {
      "type": "string",
      "maxLength": 64,
      "description": "Decimal value without the unit."
    }
  },
  "description": "Decimal quantity encoded as a string because atproto records do not use floating point numbers."
}
sourceFile object

One file or artifact associated with a CAD project.

Properties

cid string cid Optional

CID for this file, if content-addressed.

createdAt string datetime Optional

Source creation time, if known.

mimeType string Optional

No description available.

maxLength: 256 bytes
name string Optional

Display filename, if different from the path basename.

maxLength: 2048 bytesmaxGraphemes: 256 graphemes
path string Required

Path within a project archive or source tree.

maxLength: 2048 bytes
role string Optional

Role this file plays in the CAD project.

maxLength: 64 bytes
Known values: source, archive, thumbnail, preview, derived, metadata
sha256 string Optional

Lowercase hex SHA-256 digest of the file bytes.

maxLength: 64 bytesminLength: 64 bytes
sizeBytes integer Optional

Size of this file in bytes.

minimum: 0
View raw schema
{
  "type": "object",
  "required": [
    "path"
  ],
  "properties": {
    "cid": {
      "type": "string",
      "format": "cid",
      "description": "CID for this file, if content-addressed."
    },
    "name": {
      "type": "string",
      "maxLength": 2048,
      "description": "Display filename, if different from the path basename.",
      "maxGraphemes": 256
    },
    "path": {
      "type": "string",
      "maxLength": 2048,
      "description": "Path within a project archive or source tree."
    },
    "role": {
      "type": "string",
      "maxLength": 64,
      "description": "Role this file plays in the CAD project.",
      "knownValues": [
        "source",
        "archive",
        "thumbnail",
        "preview",
        "derived",
        "metadata"
      ]
    },
    "sha256": {
      "type": "string",
      "maxLength": 64,
      "minLength": 64,
      "description": "Lowercase hex SHA-256 digest of the file bytes."
    },
    "mimeType": {
      "type": "string",
      "maxLength": 256
    },
    "createdAt": {
      "type": "string",
      "format": "datetime",
      "description": "Source creation time, if known."
    },
    "sizeBytes": {
      "type": "integer",
      "minimum": 0,
      "description": "Size of this file in bytes."
    }
  },
  "description": "One file or artifact associated with a CAD project."
}
tag object

A short user-supplied project tag.

Properties

value string Required

No description available.

maxLength: 320 bytesmaxGraphemes: 32 graphemes
View raw schema
{
  "type": "object",
  "required": [
    "value"
  ],
  "properties": {
    "value": {
      "type": "string",
      "maxLength": 320,
      "maxGraphemes": 32
    }
  },
  "description": "A short user-supplied project tag."
}
zooProjectRef object

Reference to a project managed by the Zoo API.

Properties

id string Required

Zoo project identifier.

maxLength: 256 bytes
publicUrl string uri Optional

Public Zoo URL for the project, when available.

shareUrl string uri Optional

Share-link URL for the project, when available.

thumbnailUrl string uri Optional

Zoo-hosted thumbnail URL, when available.

visibility string Optional

Zoo visibility or publication state when mirrored.

maxLength: 64 bytes
Known values: private, draft, published, unlisted
View raw schema
{
  "type": "object",
  "required": [
    "id"
  ],
  "properties": {
    "id": {
      "type": "string",
      "maxLength": 256,
      "description": "Zoo project identifier."
    },
    "shareUrl": {
      "type": "string",
      "format": "uri",
      "description": "Share-link URL for the project, when available."
    },
    "publicUrl": {
      "type": "string",
      "format": "uri",
      "description": "Public Zoo URL for the project, when available."
    },
    "visibility": {
      "type": "string",
      "maxLength": 64,
      "description": "Zoo visibility or publication state when mirrored.",
      "knownValues": [
        "private",
        "draft",
        "published",
        "unlisted"
      ]
    },
    "thumbnailUrl": {
      "type": "string",
      "format": "uri",
      "description": "Zoo-hosted thumbnail URL, when available."
    }
  },
  "description": "Reference to a project managed by the Zoo API."
}

Lexicon Garden

@