Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

improve validator output to be more useful to developers #485

Merged
merged 1 commit into from
Apr 23, 2024

Conversation

jacobyavis
Copy link
Collaborator

What type of PR is this?

/kind cleanup

What this PR does / why we need it:

Removes some debug-style log statements that were creating too much noise in the validator output
Moves the error/success reports outside of if (verbose) blocks, so the user may still know if the validator succeeded or failed, regardless of using verbose output

Which issue(s) this PR fixes:

Fixes #484

@jacobyavis
Copy link
Collaborator Author

jacobyavis commented Apr 16, 2024

Validator output -- results from my 8 manual test cases:

Valid Schemas

> schema:validate-ocf-file-schemas
> node --loader ts-node/esm --no-warnings --experimental-json-modules ./utils/validate.mjs validate-ocf-schema -t

	** ALL SCHEMA FILES VALID OCF **

Valid Schemas (Verbose)

> schema:validate-ocf-file-schemas
> node --loader ts-node/esm --no-warnings --experimental-json-modules ./utils/validate.mjs validate-ocf-schema -v -t


-->	Load Schema Files...

•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/AccrualPeriodType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/AddressType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/AllocationType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/AuthorizedShares.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/CompensationType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/CompoundingType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/ConversionMechanismType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/ConversionRightType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/ConversionTimingType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/ConversionTriggerType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/ConvertibleType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/DayCountType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/EmailType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/FileType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/InterestPayoutType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/ObjectType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/OptionType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/ParentSecurityType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/PeriodType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/PhoneType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/QuantitySourceType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/RoundingType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/StakeholderRelationshipType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/StakeholderType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/StockClassType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/StockIssuanceType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/StockPlanCancellationBehaviorType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/TerminationWindowType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/ValuationBasedFormulaType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/ValuationType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/VestingDayOfMonth.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/VestingTriggerType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/files/OCFManifestFile.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/files/StakeholdersFile.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/files/StockClassesFile.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/files/StockLegendTemplatesFile.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/files/StockPlansFile.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/files/TransactionsFile.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/files/ValuationsFile.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/files/VestingTermsFile.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/Issuer.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/Stakeholder.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/StockClass.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/StockLegendTemplate.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/StockPlan.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/Valuation.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/VestingTerms.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/acceptance/ConvertibleAcceptance.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/acceptance/EquityCompensationAcceptance.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/acceptance/PlanSecurityAcceptance.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/acceptance/StockAcceptance.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/acceptance/WarrantAcceptance.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/adjustment/IssuerAuthorizedSharesAdjustment.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/adjustment/StockClassAuthorizedSharesAdjustment.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/adjustment/StockClassConversionRatioAdjustment.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/adjustment/StockPlanPoolAdjustment.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/cancellation/ConvertibleCancellation.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/cancellation/EquityCompensationCancellation.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/cancellation/PlanSecurityCancellation.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/cancellation/StockCancellation.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/cancellation/WarrantCancellation.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/conversion/ConvertibleConversion.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/conversion/StockConversion.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/exercise/EquityCompensationExercise.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/exercise/PlanSecurityExercise.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/exercise/WarrantExercise.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/issuance/ConvertibleIssuance.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/issuance/EquityCompensationIssuance.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/issuance/PlanSecurityIssuance.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/issuance/StockIssuance.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/issuance/WarrantIssuance.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/reissuance/StockReissuance.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/release/EquityCompensationRelease.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/release/PlanSecurityRelease.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/repurchase/StockRepurchase.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/retraction/ConvertibleRetraction.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/retraction/EquityCompensationRetraction.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/retraction/PlanSecurityRetraction.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/retraction/StockRetraction.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/retraction/WarrantRetraction.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/return_to_pool/StockPlanReturnToPool.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/split/StockClassSplit.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/transfer/ConvertibleTransfer.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/transfer/EquityCompensationTransfer.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/transfer/PlanSecurityTransfer.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/transfer/StockTransfer.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/transfer/WarrantTransfer.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/vesting/VestingAcceleration.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/vesting/VestingEvent.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/vesting/VestingStart.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/primitives/files/File.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/primitives/objects/Object.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/primitives/objects/transactions/IssuerTransaction.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/primitives/objects/transactions/SecurityTransaction.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/primitives/objects/transactions/StockClassTransaction.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/primitives/objects/transactions/StockPlanTransaction.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/primitives/objects/transactions/Transaction.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/primitives/objects/transactions/acceptance/Acceptance.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/primitives/objects/transactions/cancellation/Cancellation.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/primitives/objects/transactions/conversion/Conversion.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/primitives/objects/transactions/exercise/Exercise.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/primitives/objects/transactions/issuance/Issuance.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/primitives/objects/transactions/reissuance/Reissuance.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/primitives/objects/transactions/release/Release.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/primitives/objects/transactions/repurchase/Repurchase.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/primitives/objects/transactions/retraction/Retraction.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/primitives/objects/transactions/return_to_pool/ReturnToPool.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/primitives/objects/transactions/transfer/Transfer.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/primitives/types/conversion_mechanisms/ConversionMechanism.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/primitives/types/conversion_rights/ConversionRight.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/primitives/types/conversion_triggers/ConversionTrigger.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/primitives/types/vesting/VestingConditionTrigger.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/primitives/types/vesting/VestingPeriod.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/Address.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/CapitalizationDefinition.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/CapitalizationDefinitionRules.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/ContactInfo.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/ContactInfoWithoutName.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/CountryCode.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/CountrySubdivisionCode.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/CurrencyCode.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/Date.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/Email.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/File.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/InterestRate.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/Md5.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/Monetary.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/Name.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/Numeric.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/Percentage.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/Phone.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/Ratio.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/SecurityExemption.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/ShareNumberRange.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/StockParent.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/TaxID.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/TerminationWindow.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/conversion_mechanisms/CustomConversionMechanism.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/conversion_mechanisms/FixedAmountConversionMechanism.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/conversion_mechanisms/NoteConversionMechanism.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/conversion_mechanisms/PercentCapitalizationConversionMechanism.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/conversion_mechanisms/RatioConversionMechanism.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/conversion_mechanisms/SAFEConversionMechanism.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/conversion_mechanisms/SharePriceBasedConversionMechanism.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/conversion_mechanisms/ValuationBasedConversionMechanism.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/conversion_rights/ConvertibleConversionRight.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/conversion_rights/StockClassConversionRight.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/conversion_rights/WarrantConversionRight.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/conversion_triggers/AutomaticConversionOnConditionTrigger.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/conversion_triggers/AutomaticConversionOnDateTrigger.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/conversion_triggers/ElectiveConversionAtWillTrigger.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/conversion_triggers/ElectiveConversionInDateRangeTrigger.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/conversion_triggers/ElectiveConversionOnConditionTrigger.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/conversion_triggers/UnspecifiedConversionTrigger.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/vesting/VestingCondition.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/vesting/VestingConditionPortion.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/vesting/VestingEventTrigger.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/vesting/VestingPeriodInDays.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/vesting/VestingPeriodInMonths.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/vesting/VestingScheduleAbsoluteTrigger.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/vesting/VestingScheduleRelativeTrigger.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/vesting/VestingStartTrigger.schema.json

-->	Parse Schema Objs...

-->	Parsing Schema JSONs

-->	Create AJV Validator

-->	Validator Ready

--- Loading URI Lookup for file types ---------------

VALIDATE OCF FILE SCHEMAS (WILL LOAD AND VALIDATE $REFS)

1) 	Check file type: OCF_MANIFEST_FILE
	Corresponding URI: https://raw.githubusercontent.com/Open-Cap-Table-Coalition/Open-Cap-Format-OCF/main/schema/files/OCFManifestFile.schema.json
	** VALID **

2) 	Check file type: OCF_STAKEHOLDERS_FILE
	Corresponding URI: https://raw.githubusercontent.com/Open-Cap-Table-Coalition/Open-Cap-Format-OCF/main/schema/files/StakeholdersFile.schema.json
	** VALID **

3) 	Check file type: OCF_STOCK_CLASSES_FILE
	Corresponding URI: https://raw.githubusercontent.com/Open-Cap-Table-Coalition/Open-Cap-Format-OCF/main/schema/files/StockClassesFile.schema.json
	** VALID **

4) 	Check file type: OCF_STOCK_LEGEND_TEMPLATES_FILE
	Corresponding URI: https://raw.githubusercontent.com/Open-Cap-Table-Coalition/Open-Cap-Format-OCF/main/schema/files/StockLegendTemplatesFile.schema.json
	** VALID **

5) 	Check file type: OCF_STOCK_PLANS_FILE
	Corresponding URI: https://raw.githubusercontent.com/Open-Cap-Table-Coalition/Open-Cap-Format-OCF/main/schema/files/StockPlansFile.schema.json
	** VALID **

6) 	Check file type: OCF_TRANSACTIONS_FILE
	Corresponding URI: https://raw.githubusercontent.com/Open-Cap-Table-Coalition/Open-Cap-Format-OCF/main/schema/files/TransactionsFile.schema.json
	** VALID **

7) 	Check file type: OCF_VALUATIONS_FILE
	Corresponding URI: https://raw.githubusercontent.com/Open-Cap-Table-Coalition/Open-Cap-Format-OCF/main/schema/files/ValuationsFile.schema.json
	** VALID **

8) 	Check file type: OCF_VESTING_TERMS_FILE
	Corresponding URI: https://raw.githubusercontent.com/Open-Cap-Table-Coalition/Open-Cap-Format-OCF/main/schema/files/VestingTermsFile.schema.json
	** VALID **

	** ALL SCHEMA FILES VALID OCF **

Invalid Schemas

> schema:validate-ocf-file-schemas
> node --loader ts-node/esm --no-warnings --experimental-json-modules ./utils/validate.mjs validate-ocf-schema -t


	XX	FAILURE DUE TO ERRORS:
		OCF Schema Validations failed: strict mode: unknown keyword: "dessscription"
::error::		OCF Validation failed: strict mode: unknown keyword: "dessscription"

Invalid Schemas (Verbose)

> schema:validate-ocf-file-schemas
> node --loader ts-node/esm --no-warnings --experimental-json-modules ./utils/validate.mjs validate-ocf-schema -v -t


-->	Load Schema Files...

•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/AccrualPeriodType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/AddressType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/AllocationType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/AuthorizedShares.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/CompensationType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/CompoundingType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/ConversionMechanismType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/ConversionRightType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/ConversionTimingType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/ConversionTriggerType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/ConvertibleType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/DayCountType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/EmailType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/FileType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/InterestPayoutType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/ObjectType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/OptionType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/ParentSecurityType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/PeriodType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/PhoneType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/QuantitySourceType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/RoundingType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/StakeholderRelationshipType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/StakeholderType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/StockClassType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/StockIssuanceType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/StockPlanCancellationBehaviorType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/TerminationWindowType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/ValuationBasedFormulaType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/ValuationType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/VestingDayOfMonth.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/VestingTriggerType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/files/OCFManifestFile.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/files/StakeholdersFile.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/files/StockClassesFile.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/files/StockLegendTemplatesFile.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/files/StockPlansFile.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/files/TransactionsFile.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/files/ValuationsFile.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/files/VestingTermsFile.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/Issuer.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/Stakeholder.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/StockClass.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/StockLegendTemplate.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/StockPlan.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/Valuation.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/VestingTerms.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/acceptance/ConvertibleAcceptance.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/acceptance/EquityCompensationAcceptance.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/acceptance/PlanSecurityAcceptance.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/acceptance/StockAcceptance.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/acceptance/WarrantAcceptance.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/adjustment/IssuerAuthorizedSharesAdjustment.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/adjustment/StockClassAuthorizedSharesAdjustment.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/adjustment/StockClassConversionRatioAdjustment.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/adjustment/StockPlanPoolAdjustment.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/cancellation/ConvertibleCancellation.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/cancellation/EquityCompensationCancellation.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/cancellation/PlanSecurityCancellation.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/cancellation/StockCancellation.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/cancellation/WarrantCancellation.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/conversion/ConvertibleConversion.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/conversion/StockConversion.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/exercise/EquityCompensationExercise.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/exercise/PlanSecurityExercise.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/exercise/WarrantExercise.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/issuance/ConvertibleIssuance.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/issuance/EquityCompensationIssuance.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/issuance/PlanSecurityIssuance.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/issuance/StockIssuance.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/issuance/WarrantIssuance.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/reissuance/StockReissuance.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/release/EquityCompensationRelease.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/release/PlanSecurityRelease.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/repurchase/StockRepurchase.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/retraction/ConvertibleRetraction.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/retraction/EquityCompensationRetraction.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/retraction/PlanSecurityRetraction.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/retraction/StockRetraction.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/retraction/WarrantRetraction.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/return_to_pool/StockPlanReturnToPool.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/split/StockClassSplit.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/transfer/ConvertibleTransfer.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/transfer/EquityCompensationTransfer.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/transfer/PlanSecurityTransfer.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/transfer/StockTransfer.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/transfer/WarrantTransfer.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/vesting/VestingAcceleration.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/vesting/VestingEvent.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/vesting/VestingStart.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/primitives/files/File.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/primitives/objects/Object.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/primitives/objects/transactions/IssuerTransaction.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/primitives/objects/transactions/SecurityTransaction.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/primitives/objects/transactions/StockClassTransaction.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/primitives/objects/transactions/StockPlanTransaction.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/primitives/objects/transactions/Transaction.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/primitives/objects/transactions/acceptance/Acceptance.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/primitives/objects/transactions/cancellation/Cancellation.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/primitives/objects/transactions/conversion/Conversion.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/primitives/objects/transactions/exercise/Exercise.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/primitives/objects/transactions/issuance/Issuance.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/primitives/objects/transactions/reissuance/Reissuance.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/primitives/objects/transactions/release/Release.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/primitives/objects/transactions/repurchase/Repurchase.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/primitives/objects/transactions/retraction/Retraction.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/primitives/objects/transactions/return_to_pool/ReturnToPool.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/primitives/objects/transactions/transfer/Transfer.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/primitives/types/conversion_mechanisms/ConversionMechanism.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/primitives/types/conversion_rights/ConversionRight.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/primitives/types/conversion_triggers/ConversionTrigger.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/primitives/types/vesting/VestingConditionTrigger.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/primitives/types/vesting/VestingPeriod.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/Address.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/CapitalizationDefinition.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/CapitalizationDefinitionRules.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/ContactInfo.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/ContactInfoWithoutName.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/CountryCode.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/CountrySubdivisionCode.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/CurrencyCode.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/Date.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/Email.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/File.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/InterestRate.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/Md5.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/Monetary.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/Name.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/Numeric.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/Percentage.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/Phone.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/Ratio.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/SecurityExemption.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/ShareNumberRange.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/StockParent.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/TaxID.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/TerminationWindow.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/conversion_mechanisms/CustomConversionMechanism.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/conversion_mechanisms/FixedAmountConversionMechanism.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/conversion_mechanisms/NoteConversionMechanism.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/conversion_mechanisms/PercentCapitalizationConversionMechanism.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/conversion_mechanisms/RatioConversionMechanism.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/conversion_mechanisms/SAFEConversionMechanism.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/conversion_mechanisms/SharePriceBasedConversionMechanism.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/conversion_mechanisms/ValuationBasedConversionMechanism.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/conversion_rights/ConvertibleConversionRight.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/conversion_rights/StockClassConversionRight.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/conversion_rights/WarrantConversionRight.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/conversion_triggers/AutomaticConversionOnConditionTrigger.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/conversion_triggers/AutomaticConversionOnDateTrigger.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/conversion_triggers/ElectiveConversionAtWillTrigger.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/conversion_triggers/ElectiveConversionInDateRangeTrigger.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/conversion_triggers/ElectiveConversionOnConditionTrigger.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/conversion_triggers/UnspecifiedConversionTrigger.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/vesting/VestingCondition.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/vesting/VestingConditionPortion.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/vesting/VestingEventTrigger.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/vesting/VestingPeriodInDays.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/vesting/VestingPeriodInMonths.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/vesting/VestingScheduleAbsoluteTrigger.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/vesting/VestingScheduleRelativeTrigger.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/vesting/VestingStartTrigger.schema.json

-->	Parse Schema Objs...

-->	Parsing Schema JSONs

-->	Create AJV Validator

-->	Validator Ready

--- Loading URI Lookup for file types ---------------

VALIDATE OCF FILE SCHEMAS (WILL LOAD AND VALIDATE $REFS)

1) 	Check file type: OCF_MANIFEST_FILE
	Corresponding URI: https://raw.githubusercontent.com/Open-Cap-Table-Coalition/Open-Cap-Format-OCF/main/schema/files/OCFManifestFile.schema.json
	** VALID **

2) 	Check file type: OCF_STAKEHOLDERS_FILE
	Corresponding URI: https://raw.githubusercontent.com/Open-Cap-Table-Coalition/Open-Cap-Format-OCF/main/schema/files/StakeholdersFile.schema.json

	XX	FAILURE DUE TO ERRORS:
		OCF Schema Validations failed: strict mode: unknown keyword: "dessscription"
::error::		OCF Validation failed: strict mode: unknown keyword: "dessscription"

Valid Samples

> schema:validate-example-ocf-files
> node --loader ts-node/esm --no-warnings --experimental-json-modules ./utils/validate.mjs validate-ocf-directory -p ./samples -t


	** ALL FILES VALID OCF **

Valid Samples (Verbose)

> schema:validate-example-ocf-files
> node --loader ts-node/esm --no-warnings --experimental-json-modules ./utils/validate.mjs validate-ocf-directory -v -p ./samples -t


-->	Load Schema Files...

•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/AccrualPeriodType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/AddressType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/AllocationType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/AuthorizedShares.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/CompensationType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/CompoundingType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/ConversionMechanismType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/ConversionRightType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/ConversionTimingType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/ConversionTriggerType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/ConvertibleType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/DayCountType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/EmailType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/FileType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/InterestPayoutType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/ObjectType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/OptionType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/ParentSecurityType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/PeriodType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/PhoneType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/QuantitySourceType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/RoundingType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/StakeholderRelationshipType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/StakeholderType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/StockClassType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/StockIssuanceType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/StockPlanCancellationBehaviorType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/TerminationWindowType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/ValuationBasedFormulaType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/ValuationType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/VestingDayOfMonth.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/VestingTriggerType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/files/OCFManifestFile.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/files/StakeholdersFile.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/files/StockClassesFile.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/files/StockLegendTemplatesFile.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/files/StockPlansFile.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/files/TransactionsFile.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/files/ValuationsFile.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/files/VestingTermsFile.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/Issuer.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/Stakeholder.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/StockClass.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/StockLegendTemplate.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/StockPlan.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/Valuation.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/VestingTerms.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/acceptance/ConvertibleAcceptance.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/acceptance/EquityCompensationAcceptance.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/acceptance/PlanSecurityAcceptance.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/acceptance/StockAcceptance.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/acceptance/WarrantAcceptance.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/adjustment/IssuerAuthorizedSharesAdjustment.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/adjustment/StockClassAuthorizedSharesAdjustment.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/adjustment/StockClassConversionRatioAdjustment.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/adjustment/StockPlanPoolAdjustment.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/cancellation/ConvertibleCancellation.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/cancellation/EquityCompensationCancellation.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/cancellation/PlanSecurityCancellation.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/cancellation/StockCancellation.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/cancellation/WarrantCancellation.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/conversion/ConvertibleConversion.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/conversion/StockConversion.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/exercise/EquityCompensationExercise.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/exercise/PlanSecurityExercise.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/exercise/WarrantExercise.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/issuance/ConvertibleIssuance.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/issuance/EquityCompensationIssuance.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/issuance/PlanSecurityIssuance.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/issuance/StockIssuance.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/issuance/WarrantIssuance.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/reissuance/StockReissuance.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/release/EquityCompensationRelease.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/release/PlanSecurityRelease.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/repurchase/StockRepurchase.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/retraction/ConvertibleRetraction.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/retraction/EquityCompensationRetraction.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/retraction/PlanSecurityRetraction.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/retraction/StockRetraction.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/retraction/WarrantRetraction.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/return_to_pool/StockPlanReturnToPool.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/split/StockClassSplit.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/transfer/ConvertibleTransfer.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/transfer/EquityCompensationTransfer.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/transfer/PlanSecurityTransfer.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/transfer/StockTransfer.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/transfer/WarrantTransfer.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/vesting/VestingAcceleration.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/vesting/VestingEvent.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/vesting/VestingStart.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/primitives/files/File.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/primitives/objects/Object.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/primitives/objects/transactions/IssuerTransaction.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/primitives/objects/transactions/SecurityTransaction.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/primitives/objects/transactions/StockClassTransaction.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/primitives/objects/transactions/StockPlanTransaction.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/primitives/objects/transactions/Transaction.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/primitives/objects/transactions/acceptance/Acceptance.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/primitives/objects/transactions/cancellation/Cancellation.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/primitives/objects/transactions/conversion/Conversion.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/primitives/objects/transactions/exercise/Exercise.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/primitives/objects/transactions/issuance/Issuance.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/primitives/objects/transactions/reissuance/Reissuance.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/primitives/objects/transactions/release/Release.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/primitives/objects/transactions/repurchase/Repurchase.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/primitives/objects/transactions/retraction/Retraction.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/primitives/objects/transactions/return_to_pool/ReturnToPool.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/primitives/objects/transactions/transfer/Transfer.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/primitives/types/conversion_mechanisms/ConversionMechanism.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/primitives/types/conversion_rights/ConversionRight.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/primitives/types/conversion_triggers/ConversionTrigger.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/primitives/types/vesting/VestingConditionTrigger.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/primitives/types/vesting/VestingPeriod.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/Address.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/CapitalizationDefinition.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/CapitalizationDefinitionRules.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/ContactInfo.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/ContactInfoWithoutName.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/CountryCode.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/CountrySubdivisionCode.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/CurrencyCode.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/Date.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/Email.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/File.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/InterestRate.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/Md5.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/Monetary.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/Name.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/Numeric.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/Percentage.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/Phone.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/Ratio.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/SecurityExemption.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/ShareNumberRange.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/StockParent.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/TaxID.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/TerminationWindow.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/conversion_mechanisms/CustomConversionMechanism.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/conversion_mechanisms/FixedAmountConversionMechanism.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/conversion_mechanisms/NoteConversionMechanism.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/conversion_mechanisms/PercentCapitalizationConversionMechanism.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/conversion_mechanisms/RatioConversionMechanism.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/conversion_mechanisms/SAFEConversionMechanism.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/conversion_mechanisms/SharePriceBasedConversionMechanism.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/conversion_mechanisms/ValuationBasedConversionMechanism.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/conversion_rights/ConvertibleConversionRight.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/conversion_rights/StockClassConversionRight.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/conversion_rights/WarrantConversionRight.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/conversion_triggers/AutomaticConversionOnConditionTrigger.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/conversion_triggers/AutomaticConversionOnDateTrigger.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/conversion_triggers/ElectiveConversionAtWillTrigger.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/conversion_triggers/ElectiveConversionInDateRangeTrigger.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/conversion_triggers/ElectiveConversionOnConditionTrigger.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/conversion_triggers/UnspecifiedConversionTrigger.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/vesting/VestingCondition.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/vesting/VestingConditionPortion.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/vesting/VestingEventTrigger.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/vesting/VestingPeriodInDays.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/vesting/VestingPeriodInMonths.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/vesting/VestingScheduleAbsoluteTrigger.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/vesting/VestingScheduleRelativeTrigger.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/vesting/VestingStartTrigger.schema.json

-->	Parse Schema Objs...

-->	Parsing Schema JSONs

-->	Create AJV Validator

-->	Validator Ready

-->	getOcfFilesFromDir from root directory:	./samples
	•	/Users/yavis/dev/Open-Cap-Format-OCF/samples/Manifest.ocf.json
	•	/Users/yavis/dev/Open-Cap-Format-OCF/samples/Stakeholders.ocf.json
	•	/Users/yavis/dev/Open-Cap-Format-OCF/samples/StockClasses.ocf.json
	•	/Users/yavis/dev/Open-Cap-Format-OCF/samples/StockLegends.ocf.json
	•	/Users/yavis/dev/Open-Cap-Format-OCF/samples/StockPlans.ocf.json
	•	/Users/yavis/dev/Open-Cap-Format-OCF/samples/Transactions.ocf.json
	•	/Users/yavis/dev/Open-Cap-Format-OCF/samples/Valuations.ocf.json
	•	/Users/yavis/dev/Open-Cap-Format-OCF/samples/VestingTerms.example1.ocf.json
	•	/Users/yavis/dev/Open-Cap-Format-OCF/samples/VestingTerms.example2.ocf.json
	•	/Users/yavis/dev/Open-Cap-Format-OCF/samples/VestingTerms.ocf.json
	•	/Users/yavis/dev/Open-Cap-Format-OCF/samples/VestingTransactions.examples.ocf.json
-->	DONE!

--- Loading URI Lookup for file types ---------------

--- Loading OCF File Buffers... ---------------

--- Validate OCF Files ---------------

1)	Analyze File: /Users/yavis/dev/Open-Cap-Format-OCF/samples/Manifest.ocf.json
	OCF File Type: OCF_MANIFEST_FILE
	File Type URI: https://raw.githubusercontent.com/Open-Cap-Table-Coalition/Open-Cap-Format-OCF/main/schema/files/OCFManifestFile.schema.json
	** VALID OCF **

2)	Analyze File: /Users/yavis/dev/Open-Cap-Format-OCF/samples/Stakeholders.ocf.json
	OCF File Type: OCF_STAKEHOLDERS_FILE
	File Type URI: https://raw.githubusercontent.com/Open-Cap-Table-Coalition/Open-Cap-Format-OCF/main/schema/files/StakeholdersFile.schema.json
	** VALID OCF **

3)	Analyze File: /Users/yavis/dev/Open-Cap-Format-OCF/samples/StockClasses.ocf.json
	OCF File Type: OCF_STOCK_CLASSES_FILE
	File Type URI: https://raw.githubusercontent.com/Open-Cap-Table-Coalition/Open-Cap-Format-OCF/main/schema/files/StockClassesFile.schema.json
	** VALID OCF **

4)	Analyze File: /Users/yavis/dev/Open-Cap-Format-OCF/samples/StockLegends.ocf.json
	OCF File Type: OCF_STOCK_LEGEND_TEMPLATES_FILE
	File Type URI: https://raw.githubusercontent.com/Open-Cap-Table-Coalition/Open-Cap-Format-OCF/main/schema/files/StockLegendTemplatesFile.schema.json
	** VALID OCF **

5)	Analyze File: /Users/yavis/dev/Open-Cap-Format-OCF/samples/StockPlans.ocf.json
	OCF File Type: OCF_STOCK_PLANS_FILE
	File Type URI: https://raw.githubusercontent.com/Open-Cap-Table-Coalition/Open-Cap-Format-OCF/main/schema/files/StockPlansFile.schema.json
	** VALID OCF **

6)	Analyze File: /Users/yavis/dev/Open-Cap-Format-OCF/samples/Transactions.ocf.json
	OCF File Type: OCF_TRANSACTIONS_FILE
	File Type URI: https://raw.githubusercontent.com/Open-Cap-Table-Coalition/Open-Cap-Format-OCF/main/schema/files/TransactionsFile.schema.json
	** VALID OCF **

7)	Analyze File: /Users/yavis/dev/Open-Cap-Format-OCF/samples/Valuations.ocf.json
	OCF File Type: OCF_VALUATIONS_FILE
	File Type URI: https://raw.githubusercontent.com/Open-Cap-Table-Coalition/Open-Cap-Format-OCF/main/schema/files/ValuationsFile.schema.json
	** VALID OCF **

8)	Analyze File: /Users/yavis/dev/Open-Cap-Format-OCF/samples/VestingTerms.example1.ocf.json
	OCF File Type: OCF_VESTING_TERMS_FILE
	File Type URI: https://raw.githubusercontent.com/Open-Cap-Table-Coalition/Open-Cap-Format-OCF/main/schema/files/VestingTermsFile.schema.json
	** VALID OCF **

9)	Analyze File: /Users/yavis/dev/Open-Cap-Format-OCF/samples/VestingTerms.example2.ocf.json
	OCF File Type: OCF_VESTING_TERMS_FILE
	File Type URI: https://raw.githubusercontent.com/Open-Cap-Table-Coalition/Open-Cap-Format-OCF/main/schema/files/VestingTermsFile.schema.json
	** VALID OCF **

10)	Analyze File: /Users/yavis/dev/Open-Cap-Format-OCF/samples/VestingTerms.ocf.json
	OCF File Type: OCF_VESTING_TERMS_FILE
	File Type URI: https://raw.githubusercontent.com/Open-Cap-Table-Coalition/Open-Cap-Format-OCF/main/schema/files/VestingTermsFile.schema.json
	** VALID OCF **

11)	Analyze File: /Users/yavis/dev/Open-Cap-Format-OCF/samples/VestingTransactions.examples.ocf.json
	OCF File Type: OCF_TRANSACTIONS_FILE
	File Type URI: https://raw.githubusercontent.com/Open-Cap-Table-Coalition/Open-Cap-Format-OCF/main/schema/files/TransactionsFile.schema.json
	** VALID OCF **

	** ALL FILES VALID OCF **

Invalid Samples

> schema:validate-example-ocf-files
> node --loader ts-node/esm --no-warnings --experimental-json-modules ./utils/validate.mjs validate-ocf-directory -p ./samples -t


	XX INVALID DUE TO ERRORS:

 OCF_VALUATIONS_FILE at item: [0] - 892e8b19-ed26-4049-9ada-a5cf816376fd
[
  {
    instancePath: '/price_per_share/amount',
    schemaPath: 'https://raw.githubusercontent.com/Open-Cap-Table-Coalition/Open-Cap-Format-OCF/main/schema/types/Numeric.schema.json/type',
    keyword: 'type',
    params: { type: 'string' },
    message: 'must be string'
  }
]
::error::	** OCF file /Users/yavis/dev/Open-Cap-Format-OCF/samples/Valuations.ocf.json FAILED DUE TO ERRORS:%0A

Invalid Samples (Verbose)

> schema:validate-example-ocf-files
> node --loader ts-node/esm --no-warnings --experimental-json-modules ./utils/validate.mjs validate-ocf-directory -v -p ./samples -t


-->	Load Schema Files...

•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/AccrualPeriodType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/AddressType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/AllocationType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/AuthorizedShares.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/CompensationType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/CompoundingType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/ConversionMechanismType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/ConversionRightType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/ConversionTimingType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/ConversionTriggerType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/ConvertibleType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/DayCountType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/EmailType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/FileType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/InterestPayoutType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/ObjectType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/OptionType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/ParentSecurityType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/PeriodType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/PhoneType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/QuantitySourceType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/RoundingType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/StakeholderRelationshipType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/StakeholderType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/StockClassType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/StockIssuanceType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/StockPlanCancellationBehaviorType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/TerminationWindowType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/ValuationBasedFormulaType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/ValuationType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/VestingDayOfMonth.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/enums/VestingTriggerType.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/files/OCFManifestFile.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/files/StakeholdersFile.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/files/StockClassesFile.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/files/StockLegendTemplatesFile.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/files/StockPlansFile.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/files/TransactionsFile.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/files/ValuationsFile.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/files/VestingTermsFile.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/Issuer.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/Stakeholder.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/StockClass.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/StockLegendTemplate.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/StockPlan.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/Valuation.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/VestingTerms.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/acceptance/ConvertibleAcceptance.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/acceptance/EquityCompensationAcceptance.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/acceptance/PlanSecurityAcceptance.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/acceptance/StockAcceptance.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/acceptance/WarrantAcceptance.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/adjustment/IssuerAuthorizedSharesAdjustment.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/adjustment/StockClassAuthorizedSharesAdjustment.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/adjustment/StockClassConversionRatioAdjustment.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/adjustment/StockPlanPoolAdjustment.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/cancellation/ConvertibleCancellation.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/cancellation/EquityCompensationCancellation.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/cancellation/PlanSecurityCancellation.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/cancellation/StockCancellation.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/cancellation/WarrantCancellation.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/conversion/ConvertibleConversion.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/conversion/StockConversion.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/exercise/EquityCompensationExercise.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/exercise/PlanSecurityExercise.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/exercise/WarrantExercise.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/issuance/ConvertibleIssuance.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/issuance/EquityCompensationIssuance.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/issuance/PlanSecurityIssuance.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/issuance/StockIssuance.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/issuance/WarrantIssuance.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/reissuance/StockReissuance.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/release/EquityCompensationRelease.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/release/PlanSecurityRelease.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/repurchase/StockRepurchase.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/retraction/ConvertibleRetraction.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/retraction/EquityCompensationRetraction.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/retraction/PlanSecurityRetraction.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/retraction/StockRetraction.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/retraction/WarrantRetraction.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/return_to_pool/StockPlanReturnToPool.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/split/StockClassSplit.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/transfer/ConvertibleTransfer.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/transfer/EquityCompensationTransfer.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/transfer/PlanSecurityTransfer.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/transfer/StockTransfer.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/transfer/WarrantTransfer.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/vesting/VestingAcceleration.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/vesting/VestingEvent.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/objects/transactions/vesting/VestingStart.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/primitives/files/File.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/primitives/objects/Object.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/primitives/objects/transactions/IssuerTransaction.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/primitives/objects/transactions/SecurityTransaction.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/primitives/objects/transactions/StockClassTransaction.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/primitives/objects/transactions/StockPlanTransaction.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/primitives/objects/transactions/Transaction.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/primitives/objects/transactions/acceptance/Acceptance.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/primitives/objects/transactions/cancellation/Cancellation.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/primitives/objects/transactions/conversion/Conversion.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/primitives/objects/transactions/exercise/Exercise.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/primitives/objects/transactions/issuance/Issuance.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/primitives/objects/transactions/reissuance/Reissuance.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/primitives/objects/transactions/release/Release.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/primitives/objects/transactions/repurchase/Repurchase.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/primitives/objects/transactions/retraction/Retraction.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/primitives/objects/transactions/return_to_pool/ReturnToPool.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/primitives/objects/transactions/transfer/Transfer.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/primitives/types/conversion_mechanisms/ConversionMechanism.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/primitives/types/conversion_rights/ConversionRight.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/primitives/types/conversion_triggers/ConversionTrigger.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/primitives/types/vesting/VestingConditionTrigger.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/primitives/types/vesting/VestingPeriod.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/Address.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/CapitalizationDefinition.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/CapitalizationDefinitionRules.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/ContactInfo.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/ContactInfoWithoutName.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/CountryCode.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/CountrySubdivisionCode.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/CurrencyCode.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/Date.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/Email.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/File.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/InterestRate.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/Md5.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/Monetary.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/Name.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/Numeric.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/Percentage.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/Phone.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/Ratio.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/SecurityExemption.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/ShareNumberRange.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/StockParent.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/TaxID.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/TerminationWindow.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/conversion_mechanisms/CustomConversionMechanism.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/conversion_mechanisms/FixedAmountConversionMechanism.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/conversion_mechanisms/NoteConversionMechanism.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/conversion_mechanisms/PercentCapitalizationConversionMechanism.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/conversion_mechanisms/RatioConversionMechanism.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/conversion_mechanisms/SAFEConversionMechanism.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/conversion_mechanisms/SharePriceBasedConversionMechanism.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/conversion_mechanisms/ValuationBasedConversionMechanism.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/conversion_rights/ConvertibleConversionRight.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/conversion_rights/StockClassConversionRight.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/conversion_rights/WarrantConversionRight.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/conversion_triggers/AutomaticConversionOnConditionTrigger.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/conversion_triggers/AutomaticConversionOnDateTrigger.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/conversion_triggers/ElectiveConversionAtWillTrigger.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/conversion_triggers/ElectiveConversionInDateRangeTrigger.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/conversion_triggers/ElectiveConversionOnConditionTrigger.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/conversion_triggers/UnspecifiedConversionTrigger.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/vesting/VestingCondition.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/vesting/VestingConditionPortion.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/vesting/VestingEventTrigger.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/vesting/VestingPeriodInDays.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/vesting/VestingPeriodInMonths.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/vesting/VestingScheduleAbsoluteTrigger.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/vesting/VestingScheduleRelativeTrigger.schema.json
•	/Users/yavis/dev/Open-Cap-Format-OCF/schema/types/vesting/VestingStartTrigger.schema.json

-->	Parse Schema Objs...

-->	Parsing Schema JSONs

-->	Create AJV Validator

-->	Validator Ready

-->	getOcfFilesFromDir from root directory:	./samples
	•	/Users/yavis/dev/Open-Cap-Format-OCF/samples/Manifest.ocf.json
	•	/Users/yavis/dev/Open-Cap-Format-OCF/samples/Stakeholders.ocf.json
	•	/Users/yavis/dev/Open-Cap-Format-OCF/samples/StockClasses.ocf.json
	•	/Users/yavis/dev/Open-Cap-Format-OCF/samples/StockLegends.ocf.json
	•	/Users/yavis/dev/Open-Cap-Format-OCF/samples/StockPlans.ocf.json
	•	/Users/yavis/dev/Open-Cap-Format-OCF/samples/Transactions.ocf.json
	•	/Users/yavis/dev/Open-Cap-Format-OCF/samples/Valuations.ocf.json
	•	/Users/yavis/dev/Open-Cap-Format-OCF/samples/VestingTerms.example1.ocf.json
	•	/Users/yavis/dev/Open-Cap-Format-OCF/samples/VestingTerms.example2.ocf.json
	•	/Users/yavis/dev/Open-Cap-Format-OCF/samples/VestingTerms.ocf.json
	•	/Users/yavis/dev/Open-Cap-Format-OCF/samples/VestingTransactions.examples.ocf.json
-->	DONE!

--- Loading URI Lookup for file types ---------------

--- Loading OCF File Buffers... ---------------

--- Validate OCF Files ---------------

1)	Analyze File: /Users/yavis/dev/Open-Cap-Format-OCF/samples/Manifest.ocf.json
	OCF File Type: OCF_MANIFEST_FILE
	File Type URI: https://raw.githubusercontent.com/Open-Cap-Table-Coalition/Open-Cap-Format-OCF/main/schema/files/OCFManifestFile.schema.json
	** VALID OCF **

2)	Analyze File: /Users/yavis/dev/Open-Cap-Format-OCF/samples/Stakeholders.ocf.json
	OCF File Type: OCF_STAKEHOLDERS_FILE
	File Type URI: https://raw.githubusercontent.com/Open-Cap-Table-Coalition/Open-Cap-Format-OCF/main/schema/files/StakeholdersFile.schema.json
	** VALID OCF **

3)	Analyze File: /Users/yavis/dev/Open-Cap-Format-OCF/samples/StockClasses.ocf.json
	OCF File Type: OCF_STOCK_CLASSES_FILE
	File Type URI: https://raw.githubusercontent.com/Open-Cap-Table-Coalition/Open-Cap-Format-OCF/main/schema/files/StockClassesFile.schema.json
	** VALID OCF **

4)	Analyze File: /Users/yavis/dev/Open-Cap-Format-OCF/samples/StockLegends.ocf.json
	OCF File Type: OCF_STOCK_LEGEND_TEMPLATES_FILE
	File Type URI: https://raw.githubusercontent.com/Open-Cap-Table-Coalition/Open-Cap-Format-OCF/main/schema/files/StockLegendTemplatesFile.schema.json
	** VALID OCF **

5)	Analyze File: /Users/yavis/dev/Open-Cap-Format-OCF/samples/StockPlans.ocf.json
	OCF File Type: OCF_STOCK_PLANS_FILE
	File Type URI: https://raw.githubusercontent.com/Open-Cap-Table-Coalition/Open-Cap-Format-OCF/main/schema/files/StockPlansFile.schema.json
	** VALID OCF **

6)	Analyze File: /Users/yavis/dev/Open-Cap-Format-OCF/samples/Transactions.ocf.json
	OCF File Type: OCF_TRANSACTIONS_FILE
	File Type URI: https://raw.githubusercontent.com/Open-Cap-Table-Coalition/Open-Cap-Format-OCF/main/schema/files/TransactionsFile.schema.json
	** VALID OCF **

7)	Analyze File: /Users/yavis/dev/Open-Cap-Format-OCF/samples/Valuations.ocf.json
	OCF File Type: OCF_VALUATIONS_FILE
	File Type URI: https://raw.githubusercontent.com/Open-Cap-Table-Coalition/Open-Cap-Format-OCF/main/schema/files/ValuationsFile.schema.json

	XX INVALID DUE TO ERRORS:

 OCF_VALUATIONS_FILE at item: [0] - 892e8b19-ed26-4049-9ada-a5cf816376fd
[
  {
    instancePath: '/price_per_share/amount',
    schemaPath: 'https://raw.githubusercontent.com/Open-Cap-Table-Coalition/Open-Cap-Format-OCF/main/schema/types/Numeric.schema.json/type',
    keyword: 'type',
    params: { type: 'string' },
    message: 'must be string'
  }
]
::error::	** OCF file /Users/yavis/dev/Open-Cap-Format-OCF/samples/Valuations.ocf.json FAILED DUE TO ERRORS:%0A

@pjohnmeyer pjohnmeyer merged commit b476e0a into main Apr 23, 2024
6 checks passed
@pjohnmeyer pjohnmeyer deleted the jake/issue#484 branch April 23, 2024 19:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Enhancement]: Validator utils output is messy and unintuitive
2 participants