pub.techne.draft.org
`"key": "any"`, like pub.techne.draft.place: a writer derives a deterministic rkey (for the IRS writer, from the EIN) so a re-publish updates the same record instead of minting a duplicate.
Details · record, key any
| Kind | record |
|---|---|
| Record key | any |
| Authority | draft.techne.pub |
| Commit rev | 3n3iob6ar562u |
| Indexed |
Checks
Validlarge-stringdefs.fields.properties.descriptionmaxLength is over 20 KB. Use a blob for content that large.large-stringdefs.main.record.properties.descriptionmaxLength is over 20 KB. Use a blob for content that large.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"fields": {
"description": "Some of an org's own fields, carried by a `pub.techne.draft.statement` about an org record someone else wrote (the subject). Every property is the main record's property of the same name, with the same shape; none is required.",
"properties": {
"category": {
"description": "Classification codes per scheme: `irs-ntee`, `irs-subsection`, `co-sos-entity-type`.",
"items": {
"ref": "#schemeValue",
"type": "ref"
},
"maxLength": 16,
"type": "array"
},
"description": {
"description": "Prose about the organization: for a nonprofit, the mission and program text it filed with the IRS (Form 990). Public.",
"maxGraphemes": 10000,
"maxLength": 30000,
"type": "string"
},
"founded": {
"description": "Formation date as the source states it: year, year-month or full date (shape ^[0-9]{4}(-[0-9]{2}(-[0-9]{2})?)?$; atproto strings carry no pattern, so the writer enforces it).",
"maxLength": 10,
"type": "string"
},
"identifiers": {
"description": "Ids the organization has in other registries: `{scheme: \"ein\", value}` (9 digits, no dash), `{scheme: \"co-sos\", value}`. Identity between two org records is a `pub.techne.draft.sameAs`, never a field here; an EIN is its strongest basis.",
"items": {
"ref": "#schemeValue",
"type": "ref"
},
"maxLength": 16,
"type": "array"
},
"locations": {
"description": "Where the organization is: a point, an H3 cell, an address or a place record, each bare entry a site of the org (its office, its storefront, a place it runs). A `pub.techne.draft.locationEntry` says something other than \"is at\": `serves` for a service area, `registered` for where a registry lists it (a nonprofit's filing city or ZIP area, never the street address). Never a mailing address: a registry's address is often an organizer's home, so it is not published. Its query document reads the entries as `sites`: each is its own location. With a `pub.techne.draft.statement` about the org carrying `locations` (a site the org's author did not state), this replaces `pub.techne.draft.orgAtPlace`.",
"items": {
"refs": [
"community.lexicon.location.geo",
"community.lexicon.location.hthree",
"community.lexicon.location.address",
"com.atproto.repo.strongRef",
"pub.techne.draft.locationEntry"
],
"type": "union"
},
"maxLength": 256,
"type": "array"
},
"name": {
"description": "The organization's name as its registry records it.",
"maxGraphemes": 128,
"maxLength": 640,
"type": "string"
},
"phone": {
"description": "Public phone number, E.164.",
"maxLength": 32,
"type": "string"
},
"status": {
"description": "Registry standing per scheme (`irs`, `co-sos`). A closed organization keeps its record with its status; it is never deleted.",
"items": {
"ref": "#schemeValue",
"type": "ref"
},
"maxLength": 16,
"type": "array"
},
"url": {
"description": "The organization's own website, absolute http(s).",
"format": "uri",
"maxLength": 300,
"type": "string"
}
},
"type": "object"
},
"main": {
"description": "`\"key\": \"any\"`, like pub.techne.draft.place: a writer derives a deterministic rkey (for the IRS writer, from the EIN) so a re-publish updates the same record instead of minting a duplicate.",
"key": "any",
"record": {
"properties": {
"category": {
"description": "Classification codes per scheme: `irs-ntee`, `irs-subsection`, `co-sos-entity-type`.",
"items": {
"ref": "#schemeValue",
"type": "ref"
},
"maxLength": 16,
"type": "array"
},
"createdAt": {
"format": "datetime",
"type": "string"
},
"description": {
"description": "Prose about the organization: for a nonprofit, the mission and program text it filed with the IRS (Form 990). Public.",
"maxGraphemes": 10000,
"maxLength": 30000,
"type": "string"
},
"founded": {
"description": "Formation date as the source states it: year, year-month or full date (shape ^[0-9]{4}(-[0-9]{2}(-[0-9]{2})?)?$; atproto strings carry no pattern, so the writer enforces it).",
"maxLength": 10,
"type": "string"
},
"identifiers": {
"description": "Ids the organization has in other registries: `{scheme: \"ein\", value}` (9 digits, no dash), `{scheme: \"co-sos\", value}`. Identity between two org records is a `pub.techne.draft.sameAs`, never a field here; an EIN is its strongest basis.",
"items": {
"ref": "#schemeValue",
"type": "ref"
},
"maxLength": 16,
"type": "array"
},
"locations": {
"description": "Where the organization is: a point, an H3 cell, an address or a place record, each bare entry a site of the org (its office, its storefront, a place it runs). A `pub.techne.draft.locationEntry` says something other than \"is at\": `serves` for a service area, `registered` for where a registry lists it (a nonprofit's filing city or ZIP area, never the street address). Never a mailing address: a registry's address is often an organizer's home, so it is not published. Its query document reads the entries as `sites`: each is its own location. With a `pub.techne.draft.statement` about the org carrying `locations` (a site the org's author did not state), this replaces `pub.techne.draft.orgAtPlace`.",
"items": {
"refs": [
"community.lexicon.location.geo",
"community.lexicon.location.hthree",
"community.lexicon.location.address",
"com.atproto.repo.strongRef",
"pub.techne.draft.locationEntry"
],
"type": "union"
},
"maxLength": 256,
"type": "array"
},
"name": {
"description": "The organization's name as its registry records it.",
"maxGraphemes": 128,
"maxLength": 640,
"type": "string"
},
"phone": {
"description": "Public phone number, E.164.",
"maxLength": 32,
"type": "string"
},
"status": {
"description": "Registry standing per scheme (`irs`, `co-sos`). A closed organization keeps its record with its status; it is never deleted.",
"items": {
"ref": "#schemeValue",
"type": "ref"
},
"maxLength": 16,
"type": "array"
},
"url": {
"description": "The organization's own website, absolute http(s).",
"format": "uri",
"maxLength": 300,
"type": "string"
}
},
"required": [
"name",
"createdAt"
],
"type": "object"
},
"type": "record"
},
"schemeValue": {
"description": "One code in a named scheme: an identifier (`identifiers`), a classification (`category`) or a standing (`status`). `scheme` names the registry or code list, `value` is the code as that registry writes it.",
"properties": {
"scheme": {
"description": "The registry or code list, e.g. `ein`, `co-sos`, `irs-ntee`, `irs-subsection`, `co-sos-entity-type`, `irs`.",
"maxLength": 64,
"type": "string"
},
"value": {
"description": "The code as the registry writes it, e.g. an EIN as 9 digits with no dash.",
"maxLength": 128,
"type": "string"
}
},
"required": [
"scheme",
"value"
],
"type": "object"
}
},
"description": "An organization in the commons directory: a registered nonprofit or business. Draft tier. PUBLIC content with no provenance rule, like pub.techne.draft.place. Field names follow the lexicon naming register (`identifiers`, `status`, `locations`, `url`, `description`). There is no mailing address: a registry's address is often an organizer's home, so it is never published. Who said a fact is not a field: it is the writer's repo, its `pub.techne.draft.sourceAttribution` and its `pub.techne.draft.derivation`. A fact about an org someone else wrote is a `pub.techne.draft.statement` carrying `#fields`.",
"id": "pub.techne.draft.org",
"lexicon": 1
}