Moves the data product template from semprini-blog-dataproducts, as adapted to the semprini-data domain platform, into canonical_data_product/. Its worked example passed 9 of 9 checks on the domain platform on 2026-09-17. Adds agent-canonical-product, the blog's agent-product adapted to generate a product into a domain repository from a declaration in the domain's model repository, and README/CLAUDE.md describing the template catalogue, the product contract with the domain platform, and team ownership. Source-aligned and experience templates are planned. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
32 lines
1.1 KiB
GraphQL
32 lines
1.1 KiB
GraphQL
# Example Address: GraphQL surface reflected by pg_graphql from example_address.address.
|
|
# Documentation only; the live schema is available by introspection at
|
|
# POST http://localhost:20000/rpc/example_address_graphql (GRAPHQL_PORT of a domain at port base 20000).
|
|
|
|
type Address implements Node {
|
|
nodeId: ID!
|
|
addressId: UUID!
|
|
addressType: String # enum:Address Type, enforced by CHECK in the ODS
|
|
addressLine1: String
|
|
addressLine2: String
|
|
suburb: String
|
|
city: String
|
|
stateOrRegion: String
|
|
postcode: String
|
|
country: String!
|
|
createdAt: Datetime!
|
|
updatedAt: Datetime!
|
|
}
|
|
|
|
extend type Query {
|
|
addressCollection(
|
|
first: Int, last: Int, before: Cursor, after: Cursor,
|
|
filter: AddressFilter, orderBy: [AddressOrderBy!]
|
|
): AddressConnection
|
|
}
|
|
|
|
extend type Mutation {
|
|
insertIntoAddressCollection(objects: [AddressInsertInput!]!): AddressInsertResponse
|
|
updateAddressCollection(set: AddressUpdateInput!, filter: AddressFilter, atMost: Int! = 1): AddressUpdateResponse
|
|
deleteFromAddressCollection(filter: AddressFilter, atMost: Int! = 1): AddressDeleteResponse
|
|
}
|