Analyze the following code. You answer must not contain any comments, just the JSON. Return problems the following format:

[{
        "level": "PROBLEM_LEVEL",
        "type": "PROBLEM_TYPE"
        "message": "PROBLEM_DESCRIPTION",
}]

CODE:

public void registerContractDefinition(String policyId) {
    var contractDefinition1 = ContractDefinition.Builder.newInstance().id("1").accessPolicyId(policyId)
            .contractPolicyId(policyId)
            .selectorExpression(
                    AssetSelectorExpression.Builder.newInstance().whenEquals(Asset.PROPERTY_ID, "1").build())
            .validity(31536000).build();

    contractDefinitionStore.save(contractDefinition1);
}

private PolicyDefinition createPolicy() {
    var usePermission = Permission.Builder.newInstance().action(Action.Builder.newInstance().type("USE").build())
            .build();

    return PolicyDefinition.Builder.newInstance()
            .policy(Policy.Builder.newInstance().permission(usePermission).build()).build();
} Avoid using the following keywords: format, message, .selectorexpression, level
user