Contract

Description

Properties

Property Description
activity read-only

A list of activities that have occurred with this contract.

bodyContainsMagicBlank read-only

Indicates if the HTML body of the contract contains one or more 'magic blank' placeholder strings.

bodyHtml

The HTML body of the contract.

brandTheme read-only

A brand theme.

Property Description
colorScheme

The color scheme for this brand theme.

ShootProof Identifier Description
dark A "dark" color scheme should be used when displaying this brand theme.
light A "light" color scheme should be used when displaying this brand theme.
created read-only

The date on which the entity was created.

emailBrandLogo nullable

The brand logo for use in email messages (and any other place using a white/neutral background such as contracts and invoices).

eventBrandLogo nullable

The brand logo for use in event presentation.

fontSet

The font set for this brand theme.

ShootProof Identifier Primary Font Name Secondary Font Name Body Font Name
brandon Brandon Brandon Baskerville
freeland ProximaNova Freeland ProximaNova
baskerville Baskerville Baskerville OpenSans-Regular
blooming-elegant BloomingElegant-Regular BloomingElegant-Regular Brandon
bambusa-pro-regular BambusaPro-Regular BambusaPro-Regular OpenSans-Regular
scandiebox-one SBOne SBOne OpenSans-Regular
id

The identifier of this brand theme.

links required read-only

Each property defines a hypertext link relationship as indicated by a link object or array of link objects. The target URL of each hypertext link relationship is related to the current resource according to the defined semantics of the link relationship property name.

name

The name of this brand theme.

primaryColor

The primary hex color code for this brand theme.

secondaryColor

The secondary hex color code for this brand theme.

type

The type of object represented.

brandThemeId

An entity identifier. It may be either an integer or a universally unique identifier (UUID) represented as a string.

cancelationMessage nullable

Optional cancelation message to include in studio-to-client email sent when contract status moves to canceled state. As of this writing, value only used on PATCH requests.

contactIds write-only

An array of unique contact ids to link to contract

contacts required read-only

A collection of contacts associated with this contract

Property Description
items

A collection of resources returned in the current result set.

links required read-only

Each property defines a hypertext link relationship as indicated by a link object or array of link objects. The target URL of each hypertext link relationship is related to the current resource according to the defined semantics of the link relationship property name.

meta read-only

Metadata describing the current result set.

type

The type of resource represented.

contractStatus

The current status of the contract.

Status Description
draft The contract is a draft and has not been sent to the client.
awaiting-client-signature The contract has been sent to the client and is awaiting their signature.
awaiting-studio-countersign The client has signed the contract, and it is ready for the studio to countersign.
completed The client and studio have both signed the contract.
canceled The studio has canceled the contract.
expired The expiration date specified on the contract has passed while the contract was in the draft or awaiting-client-signature states.
contractTemplate required read-only
Property Description
bodyHtml

The HTML body of the contract template.

brandTheme read-only

A brand theme.

brandThemeId

An entity identifier. It may be either an integer or a universally unique identifier (UUID) represented as a string.

created read-only

The creation date of this contract template.

id

An entity identifier. It may be either an integer or a universally unique identifier (UUID) represented as a string.

languageCode

The Unicode CLDR language tag for the language used in this contract template.

links required read-only

Each property defines a hypertext link relationship as indicated by a link object or array of link objects. The target URL of each hypertext link relationship is related to the current resource according to the defined semantics of the link relationship property name.

name

The name for this contract template.

type

The type of resource represented.

contractTemplateId nullable

An entity identifier. It may be either an integer or a universally unique identifier (UUID) represented as a string.

created read-only

The creation date of this contract.

expirationDate

The date on which this contract expires.

id

An entity identifier. It may be either an integer or a universally unique identifier (UUID) represented as a string.

invoices read-only

An array of linked invoices.

isEditable

Whether the contract is able to be edited.

isHidden

Whether the contract has been marked 'hidden'.

languageCode

The Unicode CLDR language tag for the language used in this contract.

links required read-only

Each property defines a hypertext link relationship as indicated by a link object or array of link objects. The target URL of each hypertext link relationship is related to the current resource according to the defined semantics of the link relationship property name.

Property Description
alternate

The target URL is an alternate representation of the current resource. Usually, this will include a type property to indicate the media type of the alternate representation.

brand

The target URL is a brand or collection of brands related to the current resource.

brand-context deprecated

The target URL indicates the brand authorized for the current context, based on the access token.

This relationship is deprecated and should not be relied on. Access tokens obtained through the OAuth flow are not tied to a specific brand.

brand-homepage

The target URL is the brand homepage API endpoint related to the current resource.

brand-theme

The target URL is a brand theme or collection of brand themes related to the current resource.

canonical

The target URL is the primary location of the current resource (i.e. the current resource may be subordinate to another resource, and the target URL indicates its permanent location).

children

The target URL is a collection of resources that is subordinate to the current resource. That is, the current resource is a parent of the children, and the children belong to this resource.

client

The target URL is the location of the current resource in the Client Galleries website. The media type of the target URL is assumed to be text/html unless otherwise indicated.

client-admin

The target URL is the location of the studio client admin for the current resource in the Client Galleries website. The media type of the target URL is assumed to be text/html unless otherwise indicated.

collection

The target URL is the location of a collection of similar resources of which the current resource is a member.

contact

The target URL is a contact or collection of contacts related to the current resource.

contact-referee

The target URL is a list of available contacts that may be selected as referred by the current resource.

contact-referred-by

The target URL is a list of available contacts that may be selected as having referred the current resource.

contact-tag

The target URL is a list of contact tags available to apply to the current resource.

contract

The target URL is a contract or collection of contracts related to the current resource.

contract-signature

The target URL is a contract signature or collection of contract signatures related to the current resource.

contract-template

The target URL is a contract template or collection of contract templates related to the current resource.

derivedfrom

The target URL is the location of a resource from which the current resource is derived (or a subset of).

email

The target URL may be an email message or collection of email messages related to the current resource. It may also be used to create an email message related to the current resource.

email-automation-group

The target URL is an email automation group or collection of email automation groups related to the current resource.

email-template

The target URL is an email template or collection of email templates related to the current resource.

email-template-type

The target URL is an email template type or collection of email template types related to the current resource.

event

The target URL is an event or collection of events related to the current resource.

event-album

The target URL is an event album or collection of event albums related to the current resource.

event-album-passwords

The target URL is a listing of all passwords for all event albums related to the current resource. If the type indicates a different format (i.e. text/csv), then the URL is a link to a downloadable version of the target resource.

event-album-photo

The target URL is an event album photo or collection of event album photos related to the current resource.

event-archive-cost

The target URL is an event archive cost related to the current resource.

event-category

The target URL is an event category or collection of event categories related to the current resource.

event-contact

The target URL is an event contact or collection of event contacts related to the current resource.

event-contact-photo-favorite

The target URL is a photo or collection of photos related to the current resource and favorited by the context event contact.

event-contact-photo-hidden

The target URL is a photo or collection of photos related to the current resource and hidden by the context event contact.

event-contact-photo-share

The target URL is a photo or collection of photos related to the current resource and shared by the context event contact.

event-contact-photo-tag

The target URL is a photo or collection of photos related to the current resource and tagged by the context event contact.

When templated is true, this is a templated URL. The template parameter filterPhotoTag may be used with the tag name or a comma-separated list of tag names to filter tagged photo results.

event-defaults

The target URL is a set of event defaults settings or collection of more than one set of event defaults settings related to the current resource.

event-photo

The target URL is an event photo or collection of event photos related to the current resource.

event-photo-original

The target URL is the original uploaded photo related to the current resource.

event-photo-upload-policy

The target URL may be used to generate an event photo upload policy related to the current resource. This is the first step in the process to upload new event photos to an event resource.

event-visitor

The target URL is an event visitor or collection of event visitors related to the current resource.

invoice

The target URL is an invoice or collection of invoices related to the current resource.

invoice-credit-card

The target URL may be used to manipulate the invoice credit card related to the current resource. The current resource may be an invoice or may have an invoice related to it, for which the target URL may be used.

invoice-item-template

The target URL is an invoice item template or collection of invoice item templates related to the current resource.

invoice-payment

The target URL may be used to make an invoice payment related to the current resource. The current resource may be an invoice or may have an invoice related to it, for which the target URL may be used.

invoice-refund

The target URL may be used to make an invoice refund related to the current resource. The current resource may be an invoice or may have an invoice related to it, for which the target URL may be used.

invoice-template

The target URL is an invoice template or collection of invoice templates related to the current resource.

lab

The target URL is a lab related to the current resource.

lab-catalog

The target URL is a lab catalog or collection of lab catalogs related to the current resource.

lab-catalog-self-fulfilled

The target URL is a self-fulfilled lab catalog or collection of self-fulfilled lab catalogs related to the current resource.

lab-catalog-shipping-option

The target URL is a lab catalog shipping option or collection of lab catalog shipping options related to the current resource.

market-department

The target URL is a market department or collection of market departments related to the current resource.

market-product

The target URL is a market product or collection of market products related to the current resource.

market-vendor

The target URL is a market vendor or collection of market vendors related to the current resource.

me

The target URL is the profile for the authenticated access token.

Usually this is the Studio Panel user who has granted authorization and an access token.

mobile-app

The target URL is a mobile app or collection of mobile apps related to the current resource.

order

The target URL is an order or collection of orders related to the current resource.

order-payment

The target URL is an order payment or collection of order payments related to the current resource.

parent

The target URL identifies a parent resource for the current resource. It is often used on subordinate resources or collections to identify the resource to which they belong.

playlist

The target URL is a music playlist or collection of music playlists related to the current resource.

portal

The target URL is the location of the current resource in the Studio-Client Portal website. The media type of the target URL is assumed to be text/html unless otherwise indicated.

price-sheet

The target URL is a price sheet or collection of price sheets related to the current resource.

price-sheet-discount

The target URL is a price sheet discount or collection of price sheet discounts related to the current resource.

price-sheet-event

The target URL is an event associated to a price sheet or a collection of events associated to a price sheet related to the current resource.

price-sheet-item

The target URL is a collection of price sheet items related to the current resource.

price-sheet-item-image

The target URL is a collection of images associated to a price sheet item related to the current resource.

price-sheet-shipping-option

The target URL is a price sheet shipping option or collection of price sheet shipping options related to the current resource.

search

The target URL is a location that may be used to search or filter results for the current resource.

self

The target URL is the current resource's own location. It may not be the canonical location of the resource; if this is the case, the canonical relationship might be present to indicate the resource's canonical URL.

shorturl

The target URL may be used to create a shortened URL for use with social sharing.

signature

The target URL is a signature or collection of signatures related to the current resource.

token-replacement

The target URL may be used to replace tokens in the current resource. Tokens available to pass for replacement are indicated by the URI template parameters.

user-mfa

The target URL is a user's MFA configuration or collection of a user's MFA configurations related to the current resource. Tokens available to pass for replacement are indicated by the URI template parameters.

user-mfa-code

The target URL is a user's MFA code or collection of a user's MFA codes related to the current resource.

user-mfa-verification

The target URL is a user's MFA verification or collection of a user's MFA verifications related to the current resource.

volume-sort

The target URL is the status of the volume photography related sorting of the current resource.

watermark

The target URL is a watermark or collection of watermarks related to the current resource.

name

The name for this contract.

publicId read-only

The public identifier for this contract (may be used in the portal website).

shootDate nullable

This contract covers a photo shoot or event that took place on this date.

signatureClient nullable read-only

The contract signature for the client.

Property Description
created read-only

The date on which the entity was created.

ipAddress

The IP address of the user agent recording the signature.

publicId

The public identifier for this contract signature. This is used on all public screens and printable views of the contract as a transaction identifier.

signature

A signature.

signatureType

The type of signature.

Status Description
studio The signature was created by the studio.
client The signature was created by the client.
type

The type of resource represented.

userAgent

The full user agent identifier string of the user agent recording the signature.

signatureStudio nullable read-only

The contract signature for the studio.

Property Description
created read-only

The date on which the entity was created.

ipAddress

The IP address of the user agent recording the signature.

publicId

The public identifier for this contract signature. This is used on all public screens and printable views of the contract as a transaction identifier.

signature

A signature.

signatureType

The type of signature.

Status Description
studio The signature was created by the studio.
client The signature was created by the client.
type

The type of resource represented.

userAgent

The full user agent identifier string of the user agent recording the signature.

type

The type of resource represented.

OpenAPI Schema

The following schema is based on OpenAPI 3.0 and is provided in our downloadable OpenAPI document.

{
  "properties": {
    "activity": {
      "description": "A list of activities that have occurred with this contract.",
      "items": {
        "$ref": "#/components/schemas/ContractActivity"
      },
      "readOnly": true,
      "title": "Contract Activity",
      "type": "array"
    },
    "bodyContainsMagicBlank": {
      "description": "Indicates if the HTML body of the contract contains one or more\n'magic blank' placeholder strings.",
      "readOnly": true,
      "type": "boolean"
    },
    "bodyHtml": {
      "description": "The HTML body of the contract.",
      "type": "string"
    },
    "brandTheme": {
      "allOf": [
        {
          "$ref": "#/components/schemas/BrandTheme"
        },
        {
          "readOnly": true
        }
      ]
    },
    "brandThemeId": {
      "$ref": "#/components/schemas/Id"
    },
    "cancelationMessage": {
      "description": "Optional cancelation message to include in studio-to-client email\nsent when contract status moves to canceled state. As of this\nwriting, value only used on `PATCH` requests.",
      "nullable": true,
      "type": "string"
    },
    "contactIds": {
      "description": "An array of unique contact ids to link to contract",
      "items": {
        "$ref": "#/components/schemas/Id"
      },
      "type": "array",
      "uniqueItems": true,
      "writeOnly": true
    },
    "contacts": {
      "allOf": [
        {
          "$ref": "#/components/schemas/ContactCollectionMinimal"
        },
        {
          "description": "A collection of contacts associated with this contract",
          "readOnly": true
        }
      ]
    },
    "contractStatus": {
      "description": "The current status of the contract.\n\n| Status | Description |\n| ------ | ----------- |\n| `draft` | The contract is a draft and has not been sent to the client. |\n| `awaiting-client-signature` | The contract has been sent to the client and is awaiting their signature. |\n| `awaiting-studio-countersign` | The client has signed the contract, and it is ready for the studio to countersign. |\n| `completed` | The client and studio have both signed the contract. |\n| `canceled` | The studio has canceled the contract. |\n| `expired` | The expiration date specified on the contract has passed while the contract was in the `draft` or `awaiting-client-signature` states. |",
      "enum": [
        "draft",
        "awaiting-client-signature",
        "awaiting-studio-countersign",
        "completed",
        "canceled",
        "expired"
      ],
      "title": "Contract Status",
      "type": "string"
    },
    "contractTemplate": {
      "allOf": [
        {
          "$ref": "#/components/schemas/ContractTemplate"
        },
        {
          "readOnly": true
        }
      ]
    },
    "contractTemplateId": {
      "allOf": [
        {
          "$ref": "#/components/schemas/Id"
        },
        {
          "nullable": true
        }
      ]
    },
    "created": {
      "description": "The creation date of this contract.",
      "format": "date-time",
      "readOnly": true,
      "type": "string"
    },
    "expirationDate": {
      "description": "The date on which this contract expires.",
      "format": "date-time",
      "type": "string"
    },
    "id": {
      "$ref": "#/components/schemas/Id"
    },
    "invoices": {
      "description": "An array of linked invoices.",
      "items": {
        "$ref": "#/components/schemas/InvoiceMinimal"
      },
      "readOnly": true,
      "title": "Invoice",
      "type": "array"
    },
    "isEditable": {
      "description": "Whether the contract is able to be edited.",
      "type": "boolean"
    },
    "isHidden": {
      "description": "Whether the contract has been marked 'hidden'.",
      "type": "boolean"
    },
    "languageCode": {
      "description": "The Unicode CLDR language tag for the language used in this\ncontract.",
      "example": "en_US",
      "type": "string"
    },
    "links": {
      "allOf": [
        {
          "$ref": "#/components/schemas/Links"
        },
        {
          "readOnly": true
        }
      ]
    },
    "name": {
      "description": "The name for this contract.",
      "type": "string"
    },
    "publicId": {
      "description": "The public identifier for this contract (may be used in the portal\nwebsite).",
      "pattern": "^[a-fA-F0-9]{32}$",
      "readOnly": true,
      "type": "string"
    },
    "shootDate": {
      "description": "This contract covers a photo shoot or event that took place on this\ndate.",
      "format": "date-time",
      "nullable": true,
      "type": "string"
    },
    "signatureClient": {
      "allOf": [
        {
          "description": "The contract signature for the client.",
          "nullable": true,
          "readOnly": true
        },
        {
          "$ref": "#/components/schemas/ContractSignature"
        }
      ]
    },
    "signatureStudio": {
      "allOf": [
        {
          "description": "The contract signature for the studio.",
          "nullable": true,
          "readOnly": true
        },
        {
          "$ref": "#/components/schemas/ContractSignature"
        }
      ]
    },
    "type": {
      "allOf": [
        {
          "$ref": "#/components/schemas/Type"
        },
        {
          "enum": [
            "contract"
          ]
        }
      ]
    }
  },
  "required": [
    "type",
    "name",
    "brandThemeId",
    "contactIds",
    "bodyHtml",
    "expirationDate",
    "languageCode"
  ],
  "title": "Contract",
  "type": "object"
}