# 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.

- Kind: record
- Record key: any
- Authority: draft.techne.pub
- Lexicon: 1
- Published by [lexicons.techne.town](https://lexicon.garden/identity/did:plc:cbtfheqpi4g6vlrha4tpoh53), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:cbtfheqpi4g6vlrha4tpoh53/pub.techne.draft.org)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:cbtfheqpi4g6vlrha4tpoh53/pub.techne.draft.org/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:cbtfheqpi4g6vlrha4tpoh53/pub.techne.draft.org/analytics)

## Record (`pub.techne.draft.org`)

Type: record · key any

### Properties

- `category` (array): Classification codes per scheme: `irs-ntee`, `irs-subsection`, `co-sos-entity-type`.
  - Constraints: maxLength: 16
  - `items` (ref)
    - Reference: `#schemeValue`
- `createdAt` (string · datetime, required)
- `description` (string): Prose about the organization: for a nonprofit, the mission and program text it filed with the IRS (Form 990). Public.
  - Constraints: maxLength: 30000, maxGraphemes: 10000
- `founded` (string): 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).
  - Constraints: maxLength: 10
- `identifiers` (array): 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.
  - Constraints: maxLength: 16
  - `items` (ref)
    - Reference: `#schemeValue`
- `locations` (array): 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`.
  - Constraints: maxLength: 256
  - `items` (union)
    - One of: `community.lexicon.location.geo`, `community.lexicon.location.hthree`, `community.lexicon.location.address`, `com.atproto.repo.strongRef`, `pub.techne.draft.locationEntry`
- `name` (string, required): The organization's name as its registry records it.
  - Constraints: maxLength: 640, maxGraphemes: 128
- `phone` (string): Public phone number, E.164.
  - Constraints: maxLength: 32
- `status` (array): Registry standing per scheme (`irs`, `co-sos`). A closed organization keeps its record with its status; it is never deleted.
  - Constraints: maxLength: 16
  - `items` (ref)
    - Reference: `#schemeValue`
- `url` (string · uri): The organization's own website, absolute http(s).
  - Constraints: maxLength: 300

## #fields (`pub.techne.draft.org#fields`)

Type: object

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` (array): Classification codes per scheme: `irs-ntee`, `irs-subsection`, `co-sos-entity-type`.
  - Constraints: maxLength: 16
  - `items` (ref)
    - Reference: `#schemeValue`
- `description` (string): Prose about the organization: for a nonprofit, the mission and program text it filed with the IRS (Form 990). Public.
  - Constraints: maxLength: 30000, maxGraphemes: 10000
- `founded` (string): 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).
  - Constraints: maxLength: 10
- `identifiers` (array): 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.
  - Constraints: maxLength: 16
  - `items` (ref)
    - Reference: `#schemeValue`
- `locations` (array): 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`.
  - Constraints: maxLength: 256
  - `items` (union)
    - One of: `community.lexicon.location.geo`, `community.lexicon.location.hthree`, `community.lexicon.location.address`, `com.atproto.repo.strongRef`, `pub.techne.draft.locationEntry`
- `name` (string): The organization's name as its registry records it.
  - Constraints: maxLength: 640, maxGraphemes: 128
- `phone` (string): Public phone number, E.164.
  - Constraints: maxLength: 32
- `status` (array): Registry standing per scheme (`irs`, `co-sos`). A closed organization keeps its record with its status; it is never deleted.
  - Constraints: maxLength: 16
  - `items` (ref)
    - Reference: `#schemeValue`
- `url` (string · uri): The organization's own website, absolute http(s).
  - Constraints: maxLength: 300

## #schemeValue (`pub.techne.draft.org#schemeValue`)

Type: object

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` (string, required): The registry or code list, e.g. `ein`, `co-sos`, `irs-ntee`, `irs-subsection`, `co-sos-entity-type`, `irs`.
  - Constraints: maxLength: 64
- `value` (string, required): The code as the registry writes it, e.g. an EIN as 9 digits with no dash.
  - Constraints: maxLength: 128

## Schema

```json
{
  "$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
}
```
