For those portions of a court proceeding transcript not considered sealed, disclose to public only after 90 days have elapsed from filing date; entire transcript may be disclosed at any time to the non-public: counsel, judge, clerk, or court reporter. Redact during public access the following information: social security numbers, financial account numbers, dates of birth, names of minor children, and both ZIP code and street address of residences (i.e. city and state may be disclosed). If there are any motions under consideration to withhold the transcript, then redact the entire transcript. When user is counsel, add obligation to review the entire transcript for PII.
[This rulesheet could be identified by a composite key that included a primary custodian of “http://stakeholders/federaldistrict8045Q.courts.gov” or both this and a problem space of “http://thefeds.gov/document/courtproceedingtranscript.xsd”.]

default-rule
	id:
		100
	apply-outcomes:
		mask

rule
	id:
		1
	apply-outcomes:
		obligation-of-disclosure
			text:
				You are obliged to review entire transcript for personally identifiable information, which you may request to redact.
	for-content:
		* all-content
	for-conditions:
		* these-have-a-value-in-common
			* counselor-id being-meaning-of-elements-within user's-identity-attributes
			* counselor-id being-meaning-of-elements-within present-document

rule
	id:
		5
	apply-outcomes:
		mask
	for-content:
		* all-content
	for-conditions:
		# The following uses an example of CDCL's concept of delegated propositions, a way to “extend” Gatepoint functionality.
		# In this particular example, it's assumed data about motions related to a transcript wouldn't be contained in the transcript.
		# Therefore, policy is dependent on data that is external to the document undergoing disclosure control.
		* all-true
			* present-document contains-something-that-means “http://registry/semantics/court-transcript-id”
			* that-item IsRelatedTo(https://acmewebservices.com/court8045Q/motions) “withheld”

rule
	id:
		10
	apply-outcomes:
		redact
	for-content:
		* any-true
			* present-item means SSN
			* present-item means bank-account-number
			* present-item means DOB
			* all-true
				* any-true
					* present-item means minor
					* present-item is-contained-by-something-that-means minor
				* present-item means name-info
			* present-item means ZIP
			* present-item means street-address
	for-conditions:
		* all-true
			* these-have-no-value-in-common
				* counselor-id being-meaning-of-elements-within user's-identity-attributes
				* counselor-id being-meaning-of-elements-within present-document
			* these-have-no-value-in-common
				* judge-id being-meaning-of-elements-within user's-identity-attributes
				* judge-id being-meaning-of-elements-within present-document
			* these-have-no-value-in-common
				* court-reporter-id being-meaning-of-elements-within user's-identity-attributes
				* court-reporter-id being-meaning-of-elements-within present-document
			* not
				* all-true
					* user's-roles contain-something-that-means clerk-of-courts
					* these-have-a-value-in-common
						* jurisdiction being-meaning-of-elements-within user's-identity-attributes
						* jurisdiction being-meaning-of-elements-within present-document

rule
	id:
		11
	apply-outcomes:
		disclose
	for-content:
		* all-true
			* present-item doesn't-mean sealed
			* present-item isn't-contained-by-something-that-means sealed
	for-conditions:
		* all-true
			* present-document contains-something-that-means filing-date
			* that-item is-earlier-than today minus-90-days

rule
	id:
		12
	apply-outcomes:
		disclose
	for-content:
		* all-content
	for-conditions:
		* any-true
			* these-have-a-value-in-common
				* counselor-id being-meaning-of-elements-within user's-identity-attributes
				* counselor-id being-meaning-of-elements-within present-document
			* these-have-a-value-in-common
				* judge-id being-meaning-of-elements-within user's-identity-attributes
				* judge-id being-meaning-of-elements-within present-document
			* these-have-a-value-in-common
				* court-reporter-id being-meaning-of-elements-within user's-identity-attributes
				* court-reporter-id being-meaning-of-elements-within present-document
			* all-true
				* user's-roles contain-something-that-means clerk-of-courts
				* these-have-a-value-in-common
					* jurisdiction being-meaning-of-elements-within user's-identity-attributes
					* jurisdiction being-meaning-of-elements-within present-document

alias
	replace:
		sealed
	with:
		“http://registry/semantics/sealed”

alias
	replace:
		court-transcript
	with:
		“http://registry/semantics/court-proceeding-transcript”

alias
	replace:
		jurisdiction
	with:
		“http://registry/semantics/fed-court-jurisdiction”

alias
	replace:
		SSN
	with:
		“http://registry/semantics/social-security-number”

alias
	replace:
		bank-account-number
	with:
		“http://registry/semantics/financial-account-number”

alias
	replace:
		DOB
	with:
		“http://registry/semantics/date-of-birth”

alias
	replace:
		minor
	with:
		“http://registry/semantics/minor”

alias
	replace:
		name-info
	with:
		“http://registry/semantics/name-info”

alias
	replace:
		ZIP
	with:
		“http://registry/semantics/address/zip-code”

alias
	replace:
		street-address
	with:
		“http://registry/semantics/address/street-address”

alias
	replace:
		 filing-date
	with:
		“http://registry/semantics/filing-date”

alias
	replace:
		counselor-id
	with:
		“http://registry/semantics/fed-court-issued-counselor-id”

alias
	replace:
		judge-id
	with:
		“http://registry/semantics/fed-court-issued-judge-id”

alias
	replace:
		court-reporter-id
	with:
		“http://registry/semantics/fed-court-issued-court-reporter-id”

alias
	replace:
		clerk-of-courts
	with:
		“http://registry/semantics/clerk-of-courts”